linux/drivers/net/wireless
Colin Ian King 4773acf3d4 b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
The documentation for the PHY update [1] states:

Loop 4 times with index i

    If PHY Revision >= 3
        Copy table[i] to coef[i]
    Otherwise
        Set coef[i] to 0

the copy of the table to coef is currently implemented the wrong way
around, table is being updated from uninitialized values in coeff.
Fix this by swapping the assignment around.

[1] https://bcm-v4.sipsolutions.net/802.11/PHY/N/RestoreCal/

Fixes: 2f258b74d1 ("b43: N-PHY: implement restoring general configuration")
Addresses-Coverity: ("Uninitialized scalar variable")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-02-15 12:40:41 -08:00
..
admtek adm8211: fix error return code in adm8211_probe() 2020-12-07 18:35:43 +02:00
ath ath9k: fix build error with LEDS_CLASS=m 2021-01-28 09:29:34 +02:00
atmel atmel: convert tasklets to use new tasklet_setup() API 2020-08-27 16:22:02 +03:00
broadcom b43: N-PHY: Fix the update of coef for the PHY revision >= 3case 2021-02-15 12:40:41 -08:00
cisco airo: Fix fall-through warnings for Clang 2020-12-08 10:06:53 +02:00
intel wireless-drivers fixes for v5.11 2021-01-26 15:16:40 -08:00
intersil orinoco: Annotate ezusb_read_ltv() 2020-11-24 17:01:19 +02:00
marvell mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start 2020-12-08 09:33:27 +02:00
mediatek mt76: dma: fix a possible memory leak in mt76_add_fragment() 2021-01-28 09:30:37 +02:00
microchip wilc1000: changes for SPI communication stall issue found with Iperf 2020-12-10 20:48:13 +02:00
quantenna wireless-drivers-next patches for v5.11 2020-12-04 10:56:37 -08:00
ralink rt2x00: Fix fall-through warnings for Clang 2020-12-08 10:06:56 +02:00
realtek rtlwifi: rise completion at the last step of firmware callback 2020-12-17 18:37:47 +02:00
rsi rsi: fix error return code in rsi_reset_card() 2020-11-24 17:04:58 +02:00
st cw1200: txrx: convert comma to semicolon 2020-12-10 20:49:14 +02:00
ti wl1251: remove trailing semicolon in macro definition 2020-12-02 21:39:20 +02:00
zydas zd1201: Fix fall-through warnings for Clang 2020-12-08 10:06:59 +02:00
Kconfig wireless: remove CONFIG_WIRELESS_WDS 2020-11-10 09:39:08 +01:00
mac80211_hwsim.c genetlink: move to smaller ops wherever possible 2020-10-02 19:11:11 -07:00
mac80211_hwsim.h
Makefile wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
ray_cs.c ray_cs: Use fallthrough pseudo-keyword 2020-11-07 13:30:09 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c net: usb: switch to dev_get_tstats64 and remove usbnet_get_stats64 alias 2020-11-12 14:58:27 -08:00
virt_wifi.c
wl3501_cs.c wl3501_cs: Fix misspelling and provide missing documentation 2020-11-07 18:05:36 +02:00
wl3501.h