linux/drivers/net/wireless
Larry Finger cf4747d753 rtlwifi: Fix regression caused by commit d86e647688
In commit d86e647688 ("rtlwifi: rtl818x: constify local structures"),
the configuration struct for most of the drivers was changed to be
constant. The problem is that five of the modified drivers need to be
able to update the firmware name based on the exact model of the card.
As the file names were stored in one of the members of that struct,
these drivers would fail with a kernel BUG splat when they tried to
update the firmware name.

Rather than reverting the previous commit, I used a suggestion by
Johannes Berg and made the firmware file name pointers be local to
the routines that update the software variables.

The configuration struct of rtl8192cu, which was not touched in the
previous patch, is now constantfied.

Fixes: d86e647688 ("rtlwifi: rtl818x: constify local structures")
Suggested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org> # 4.8
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-10-13 13:22:13 +03:00
..
admtek cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
ath ath6kl: fix return value in ath6kl_wmi_set_pvb_cmd 2016-09-28 13:01:17 +03:00
atmel mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
broadcom brcmfmac: use correct skb freeing helper when deleting flowring 2016-09-27 18:47:55 +03:00
cisco wireless: airo: rename 'register' variable 2016-06-29 18:56:20 +03:00
intel wireless-drivers-next patches for 4.9 2016-09-30 01:31:51 -04:00
intersil hostap: Use memdup_user() to reuse code 2016-09-03 12:54:53 +03:00
marvell mwifiex: code rearrangement in mwifiex_usb_host_to_card() 2016-09-26 20:39:43 +03:00
mediatek mt7601u: use linux/bitfield.h 2016-09-09 12:09:25 +03:00
ralink rt2x00usb: Fix error return code 2016-09-03 13:06:49 +03:00
realtek rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rsi rsi: eliminate superfluous NULL check 2016-06-14 17:17:58 +03:00
st mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
ti wlcore: sdio: drop kfree for memory allocated with devm_kzalloc 2016-10-05 19:05:14 +03:00
zydas zd1211rw: fix spelling mistake "firmeware" -> "firmware" 2016-09-03 19:59:56 +03:00
Kconfig mac80211_hwsim: move Kconfig entry for sorting alphabetically 2015-11-18 15:23:36 +02:00
mac80211_hwsim.c mac80211_hwsim: statically initialize hwsim_radios list 2016-09-16 14:49:43 +02:00
mac80211_hwsim.h drivers/wireless: use nla_put_u64_64bit() 2016-04-26 12:00:48 -04:00
Makefile ath: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
wl3501_cs.c wl3501_cs: Add spinlock to wl3501_reset 2016-09-03 13:01:18 +03:00
wl3501.h