diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-02-28 16:16:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-04 13:19:37 -0500 |
commit | cbd0c8512f3b06c86849c554eb092862c46885d5 (patch) | |
tree | d48a9d4dd30e74418e7c841c74aba7f43eeb619b /drivers/net/wireless/rtlwifi/rtl8723ae/hw.c | |
parent | 0a168b48cdf7c22cf0250f62df4dde20adebf74b (diff) |
rtlwifi: rtl8723ae: rtl8723-common: Copy common firmware code
The drivers for RTL8723AE and RTL8723BE have some code in common.
This commit copies the common firmware routines into the shared
code.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8723ae/hw.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8723ae/hw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8723ae/hw.c b/drivers/net/wireless/rtlwifi/rtl8723ae/hw.c index 914b36f72d55..7eff1c51539c 100644 --- a/drivers/net/wireless/rtlwifi/rtl8723ae/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8723ae/hw.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "phy.h" | 39 | #include "phy.h" |
40 | #include "dm.h" | 40 | #include "dm.h" |
41 | #include "fw.h" | 41 | #include "fw.h" |
42 | #include "../rtl8723com/fw_common.h" | ||
42 | #include "led.h" | 43 | #include "led.h" |
43 | #include "hw.h" | 44 | #include "hw.h" |
44 | #include "pwrseqcmd.h" | 45 | #include "pwrseqcmd.h" |
@@ -890,7 +891,7 @@ int rtl8723ae_hw_init(struct ieee80211_hw *hw) | |||
890 | return err; | 891 | return err; |
891 | } | 892 | } |
892 | 893 | ||
893 | err = rtl8723ae_download_fw(hw); | 894 | err = rtl8723_download_fw(hw, false); |
894 | if (err) { | 895 | if (err) { |
895 | RT_TRACE(rtlpriv, COMP_ERR, DBG_WARNING, | 896 | RT_TRACE(rtlpriv, COMP_ERR, DBG_WARNING, |
896 | "Failed to download FW. Init HW without FW now..\n"); | 897 | "Failed to download FW. Init HW without FW now..\n"); |