diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-03-04 17:53:47 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-06 14:29:56 -0500 |
commit | f3355dd9f7c261d2a3e505ba5c62ffe3cd4df97a (patch) | |
tree | beea2255a875b3917b3df64ec42585c2ffae6c93 /drivers/net/wireless/rtlwifi/rtl8723be/trx.c | |
parent | 997bc71a3601b25dbbe3ac75b77b4f49582c0ae5 (diff) |
rtlwifi: rtl8192ce: rtl8192cu: rtl8192de: rtl8192se: rtl8723ae: rtl8723be: rtl8188eu: Modify for new API
The addition of a driver for the RTL8821AE requires a new API for the
fill_tx_desc() and set_desc() callback routines. This commit makes the
appropriate modifications in all the other drivers.
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/rtl8723be/trx.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8723be/trx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8723be/trx.c b/drivers/net/wireless/rtlwifi/rtl8723be/trx.c index 7779531919fb..74a75dceab08 100644 --- a/drivers/net/wireless/rtlwifi/rtl8723be/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8723be/trx.c | |||
@@ -639,7 +639,7 @@ bool rtl8723be_rx_query_desc(struct ieee80211_hw *hw, | |||
639 | 639 | ||
640 | void rtl8723be_tx_fill_desc(struct ieee80211_hw *hw, | 640 | void rtl8723be_tx_fill_desc(struct ieee80211_hw *hw, |
641 | struct ieee80211_hdr *hdr, u8 *pdesc_tx, | 641 | struct ieee80211_hdr *hdr, u8 *pdesc_tx, |
642 | struct ieee80211_tx_info *info, | 642 | u8 *pbd_desc_tx, struct ieee80211_tx_info *info, |
643 | struct ieee80211_sta *sta, struct sk_buff *skb, | 643 | struct ieee80211_sta *sta, struct sk_buff *skb, |
644 | u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) | 644 | u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) |
645 | { | 645 | { |
@@ -858,7 +858,8 @@ void rtl8723be_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc, | |||
858 | SET_TX_DESC_USE_RATE(pdesc, 1); | 858 | SET_TX_DESC_USE_RATE(pdesc, 1); |
859 | } | 859 | } |
860 | 860 | ||
861 | void rtl8723be_set_desc(u8 *pdesc, bool istx, u8 desc_name, u8 *val) | 861 | void rtl8723be_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx, |
862 | u8 desc_name, u8 *val) | ||
862 | { | 863 | { |
863 | if (istx) { | 864 | if (istx) { |
864 | switch (desc_name) { | 865 | switch (desc_name) { |