mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-19 02:11:28 +00:00
12 lines
472 B
Diff
12 lines
472 B
Diff
--- a/net/mac80211/agg-rx.c
|
|
+++ b/net/mac80211/agg-rx.c
|
|
@@ -494,7 +494,7 @@ void ieee80211_process_addba_request(str
|
|
|
|
ies_len = len - offsetof(struct ieee80211_mgmt,
|
|
u.action.u.addba_req.variable);
|
|
- if (ies_len) {
|
|
+ if (ies_len && (mgmt->u.action.u.addba_req.variable[0] == WLAN_EID_ADDBA_EXT)) {
|
|
ieee802_11_parse_elems(mgmt->u.action.u.addba_req.variable,
|
|
ies_len, true, &elems, mgmt->bssid, NULL);
|
|
if (elems.parse_error)
|