summaryrefslogtreecommitdiff
path: root/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'tx.c')
-rw-r--r--tx.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/tx.c b/tx.c
index 70100ac..a7bffe7 100644
--- a/tx.c
+++ b/tx.c
@@ -798,7 +798,7 @@ void mwl_tx_xmit(struct ieee80211_hw *hw,
qos |= MWL_QOS_ACK_POLICY_NORMAL;
}
- if (is_multicast_ether_addr(wh->addr1))
+ if (is_multicast_ether_addr(wh->addr1) || eapol_frame)
xmitcontrol |= EAGLE_TXD_XMITCTRL_USE_MC_RATE;
}
@@ -823,17 +823,6 @@ void mwl_tx_xmit(struct ieee80211_hw *hw,
capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab);
tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2;
index = mwl_tx_tid_queue_mapping(tid);
- capab |= 1;
- mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab);
- }
-
- if (unlikely(ieee80211_is_action(wh->frame_control) &&
- mgmt->u.action.category == WLAN_CATEGORY_BACK &&
- mgmt->u.action.u.addba_resp.action_code ==
- WLAN_ACTION_ADDBA_RESP)) {
- capab = le16_to_cpu(mgmt->u.action.u.addba_resp.capab);
- capab |= 1;
- mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab);
}
}