rtlwifi: Add HAL_DEF_WOWLAN case to *_get_hw() routines
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 24 Sep 2016 16:57:18 +0000 (11:57 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Sep 2016 15:46:03 +0000 (18:46 +0300)
commit1cc49a5b5466e30a26700af3ac9d85c8ebb1b936
treede005ee6fc4c1ee3e70f1d6178dd48bb12dbcbbf
parentad5748893b27b9b27b2deb597443ad6702719c20
rtlwifi: Add HAL_DEF_WOWLAN case to *_get_hw() routines

Only rtl8821ae implements WOWLAN; however, the other drivers may receive
a call requesting information about this mode. The other drivers need to
ignore the request rather than logging that the default branch of the
switch statement has been reached.

Reported by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c