linux/drivers/staging/rtlwifi
Arnd Bergmann a084cda42e staging: rtlwifi: shut up -Wmaybe-uninitialized warning
This function contains a series of interdependent conditions,
slightly more than gcc can follow handle apparently:

drivers/staging/rtlwifi/base.c: In function 'rtl_check_beacon_key':
drivers/staging/rtlwifi/base.c:2546:34: error: 'ht_cap_ie' may be used uninitialized in this function [-Werror=maybe-uninitialized]

This moves the code around a bit, to simplify the conditions
enough that gcc can see that all variables are correctly
initialized.

Fixes: 56bde84630 ("staging: r8822be: Add existing rtlwifi and rtl_pci parts for new driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-23 16:26:10 -07:00
..
btcoexist staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
halmac staging: r8822be: fix a couple of spelling mistakes 2017-08-22 18:36:14 -07:00
phydm staging: r8822be: Add phydm mini driver 2017-08-20 11:13:12 -07:00
rtl8822be staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
base.c staging: rtlwifi: shut up -Wmaybe-uninitialized warning 2017-08-23 16:26:10 -07:00
base.h
cam.c
cam.h
core.c
core.h
debug.c staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
debug.h
efuse.c
efuse.h
Kconfig staging: rtlwifi: fix multiple build errors 2017-08-22 18:33:19 -07:00
Makefile staging: r8822be: Add Makefiles and Kconfig for new driver 2017-08-20 11:13:12 -07:00
pci.c
pci.h
ps.c
ps.h
pwrseqcmd.h
rc.c
rc.h
regd.c
regd.h
stats.c
stats.h
TODO staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
wifi.h