diff options
author | Troy Tan <troy_tan@realsil.com.cn> | 2014-12-18 12:05:25 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2014-12-24 19:28:56 +0300 |
commit | fe89707f0afa17edbb1bf8381fea1d2457aeebaa (patch) | |
tree | 124e069faa5e4feb3af1c6bf08c2fe24a3b8cf50 /drivers/net/wireless/rtlwifi/wifi.h | |
parent | a844bae38bf8c07ce18944d8b3d484911d75c8dd (diff) | |
download | linux-fe89707f0afa17edbb1bf8381fea1d2457aeebaa.tar.xz |
rtlwifi: rtl8821ae: Simplify loading of WOWLAN firmware
The existing method for loading both normal and WOWLAN firmware for the
device duplicates a lot of code. This solution is much cleaner.
Signed-off-by: Troy Tan <troy_tan@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/wifi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h index 6866dcf24340..a233b26ac134 100644 --- a/drivers/net/wireless/rtlwifi/wifi.h +++ b/drivers/net/wireless/rtlwifi/wifi.h @@ -2242,6 +2242,7 @@ struct rtl_hal_cfg { char *name; char *fw_name; char *alt_fw_name; + char *wowlan_fw_name; struct rtl_hal_ops *ops; struct rtl_mod_params *mod_params; struct rtl_hal_usbint_cfg *usb_interface_cfg; @@ -2518,8 +2519,6 @@ struct proxim { struct rtl_priv { struct ieee80211_hw *hw; - /* Used to load a second firmware */ - void (*rtl_fw_second_cb)(struct rtl_priv *rtlpriv); struct completion firmware_loading_complete; struct list_head list; struct rtl_priv *buddy_priv; |