diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192de/trx.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192de/trx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/trx.c b/drivers/net/wireless/rtlwifi/rtl8192de/trx.c index 1666ef7fd87b..f80690d82c11 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192de/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8192de/trx.c | |||
@@ -560,7 +560,7 @@ void rtl92de_tx_fill_desc(struct ieee80211_hw *hw, | |||
560 | struct rtl_hal *rtlhal = rtl_hal(rtlpriv); | 560 | struct rtl_hal *rtlhal = rtl_hal(rtlpriv); |
561 | struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); | 561 | struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); |
562 | struct ieee80211_sta *sta = info->control.sta; | 562 | struct ieee80211_sta *sta = info->control.sta; |
563 | u8 *pdesc = (u8 *) pdesc_tx; | 563 | u8 *pdesc = pdesc_tx; |
564 | u16 seq_number; | 564 | u16 seq_number; |
565 | __le16 fc = hdr->frame_control; | 565 | __le16 fc = hdr->frame_control; |
566 | unsigned int buf_len = 0; | 566 | unsigned int buf_len = 0; |
@@ -761,11 +761,11 @@ void rtl92de_tx_fill_cmddesc(struct ieee80211_hw *hw, | |||
761 | SET_TX_DESC_QUEUE_SEL(pdesc, fw_queue); | 761 | SET_TX_DESC_QUEUE_SEL(pdesc, fw_queue); |
762 | SET_TX_DESC_FIRST_SEG(pdesc, 1); | 762 | SET_TX_DESC_FIRST_SEG(pdesc, 1); |
763 | SET_TX_DESC_LAST_SEG(pdesc, 1); | 763 | SET_TX_DESC_LAST_SEG(pdesc, 1); |
764 | SET_TX_DESC_TX_BUFFER_SIZE(pdesc, (u16) (skb->len)); | 764 | SET_TX_DESC_TX_BUFFER_SIZE(pdesc, (u16)skb->len); |
765 | SET_TX_DESC_TX_BUFFER_ADDRESS(pdesc, mapping); | 765 | SET_TX_DESC_TX_BUFFER_ADDRESS(pdesc, mapping); |
766 | SET_TX_DESC_RATE_ID(pdesc, 7); | 766 | SET_TX_DESC_RATE_ID(pdesc, 7); |
767 | SET_TX_DESC_MACID(pdesc, 0); | 767 | SET_TX_DESC_MACID(pdesc, 0); |
768 | SET_TX_DESC_PKT_SIZE((u8 *) pdesc, (u16) (skb->len)); | 768 | SET_TX_DESC_PKT_SIZE(pdesc, (u16) (skb->len)); |
769 | SET_TX_DESC_FIRST_SEG(pdesc, 1); | 769 | SET_TX_DESC_FIRST_SEG(pdesc, 1); |
770 | SET_TX_DESC_LAST_SEG(pdesc, 1); | 770 | SET_TX_DESC_LAST_SEG(pdesc, 1); |
771 | SET_TX_DESC_OFFSET(pdesc, 0x20); | 771 | SET_TX_DESC_OFFSET(pdesc, 0x20); |