diff options
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/base.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/base.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/base.c b/drivers/net/wireless/realtek/rtlwifi/base.c index 7e3107f9e37f..cad2272ae21b 100644 --- a/drivers/net/wireless/realtek/rtlwifi/base.c +++ b/drivers/net/wireless/realtek/rtlwifi/base.c | |||
@@ -1630,7 +1630,6 @@ int rtl_tx_agg_stop(struct ieee80211_hw *hw, struct ieee80211_vif *vif, | |||
1630 | struct ieee80211_sta *sta, u16 tid) | 1630 | struct ieee80211_sta *sta, u16 tid) |
1631 | { | 1631 | { |
1632 | struct rtl_priv *rtlpriv = rtl_priv(hw); | 1632 | struct rtl_priv *rtlpriv = rtl_priv(hw); |
1633 | struct rtl_tid_data *tid_data; | ||
1634 | struct rtl_sta_info *sta_entry = NULL; | 1633 | struct rtl_sta_info *sta_entry = NULL; |
1635 | 1634 | ||
1636 | if (sta == NULL) | 1635 | if (sta == NULL) |
@@ -1643,7 +1642,6 @@ int rtl_tx_agg_stop(struct ieee80211_hw *hw, struct ieee80211_vif *vif, | |||
1643 | return -EINVAL; | 1642 | return -EINVAL; |
1644 | 1643 | ||
1645 | sta_entry = (struct rtl_sta_info *)sta->drv_priv; | 1644 | sta_entry = (struct rtl_sta_info *)sta->drv_priv; |
1646 | tid_data = &sta_entry->tids[tid]; | ||
1647 | sta_entry->tids[tid].agg.agg_state = RTL_AGG_STOP; | 1645 | sta_entry->tids[tid].agg.agg_state = RTL_AGG_STOP; |
1648 | 1646 | ||
1649 | ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); | 1647 | ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); |