linux-sg2042/drivers/net/wireless/realtek/rtlwifi/rtl8723be
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
..
Makefile
def.h
dm.c rtlwifi: rtl8723be: Fix potential race condition 2016-07-05 17:31:43 +03:00
dm.h
fw.c rtlwifi: Add switch variable to 'switch case not processed' messages 2016-09-27 18:44:19 +03:00
fw.h
hw.c rtlwifi: Add HAL_DEF_WOWLAN case to *_get_hw() routines 2016-09-27 18:46:03 +03:00
hw.h
led.c rtlwifi: Add switch variable to 'switch case not processed' messages 2016-09-27 18:44:19 +03:00
led.h
phy.c rtlwifi: Add switch variable to 'switch case not processed' messages 2016-09-27 18:44:19 +03:00
phy.h
pwrseq.c
pwrseq.h
reg.h
rf.c rtlwifi: Add missing newlines to RT_TRACE calls 2016-07-08 12:58:38 +03:00
rf.h
sw.c rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00
sw.h
table.c
table.h
trx.c rtlwifi: Add missing newlines to RT_TRACE calls 2016-07-08 12:58:38 +03:00
trx.h rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00