mac80211: Self-protected management frames are not robust
They may contain encrypted information elements (as AMPE frames do) but they are not encrypted. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
8429828ec9
commit
8f9cb77d6d
@@ -1520,6 +1520,7 @@ static inline bool ieee80211_is_robust_mgmt_frame(struct ieee80211_hdr *hdr)
|
|||||||
category = ((u8 *) hdr) + 24;
|
category = ((u8 *) hdr) + 24;
|
||||||
return *category != WLAN_CATEGORY_PUBLIC &&
|
return *category != WLAN_CATEGORY_PUBLIC &&
|
||||||
*category != WLAN_CATEGORY_HT &&
|
*category != WLAN_CATEGORY_HT &&
|
||||||
|
*category != WLAN_CATEGORY_SELF_PROTECTED &&
|
||||||
*category != WLAN_CATEGORY_VENDOR_SPECIFIC;
|
*category != WLAN_CATEGORY_VENDOR_SPECIFIC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user