linux-sg2042/drivers/net/wireless/realtek/rtlwifi
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
..
btcoexist rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
rtl8188ee rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8192c rtlwifi: Add switch variable to 'switch case not processed' messages 2016-09-27 18:44:19 +03:00
rtl8192ce rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8192cu rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8192de rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8192ee rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8192se rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8723ae rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8723be rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
rtl8723com rtlwifi: Delete unnecessary checks before the function call "kfree_skb" 2015-11-26 14:55:27 +02:00
rtl8821ae rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
Kconfig
Makefile
base.c rtlwifi: Fix logic error in enter/exit power-save mode 2016-05-11 21:44:07 +03:00
base.h
cam.c
cam.h
core.c rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
core.h
debug.c rtlwifi: Create _rtl_dbg_trace function to reduce RT_TRACE code size 2016-07-08 12:55:09 +03:00
debug.h rtlwifi: Create _rtl_dbg_trace function to reduce RT_TRACE code size 2016-07-08 12:55:09 +03:00
efuse.c rtlwifi: Create common routine to get hardware info 2016-07-08 16:50:00 +03:00
efuse.h rtlwifi: Create common routine to get hardware info 2016-07-08 16:50:00 +03:00
pci.c rtlwifi: Add switch variable to 'switch case not processed' messages 2016-09-27 18:44:19 +03:00
pci.h rtlwifi: rtl818x: constify rtl_intf_ops structures 2016-05-11 21:41:55 +03:00
ps.c rtlwifi: Add switch variable to 'switch case not processed' messages 2016-09-27 18:44:19 +03:00
ps.h rtlwifi: Remove unused parameter from rtl_ps_set_rf_state() 2016-07-05 17:31:41 +03:00
pwrseqcmd.h
rc.c rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
rc.h
regd.c rtlwifi: Fix missing country code for Great Britain 2016-09-03 20:00:25 +03:00
regd.h
stats.c rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
stats.h rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
usb.c net: wireless: realtek: rtlwifi: usb: don't print error when allocating urb fails 2016-08-13 14:53:41 -07:00
usb.h
wifi.h rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00