From: Thomas Pedersen Date: Tue, 3 May 2011 23:57:14 +0000 (-0700) Subject: mac80211: Self-protected management frames are not robust X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f9cb77d6d213c153b0571f494df0c24456aaf47;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Javier Cardona Signed-off-by: John W. Linville --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index d527fb7bd67..b2eee587988 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -1520,6 +1520,7 @@ static inline bool ieee80211_is_robust_mgmt_frame(struct ieee80211_hdr *hdr) category = ((u8 *) hdr) + 24; return *category != WLAN_CATEGORY_PUBLIC && *category != WLAN_CATEGORY_HT && + *category != WLAN_CATEGORY_SELF_PROTECTED && *category != WLAN_CATEGORY_VENDOR_SPECIFIC; }