From: Emmanuel Grumbach Date: Sun, 19 Jul 2015 13:09:12 +0000 (+0300) Subject: mac80211: fix BIT position for TDLS WIDE extended cap X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=43137faf8c06c445b5a6b9a8564da41947e689cb mac80211: fix BIT position for TDLS WIDE extended cap The bit was not according to ieee80211 specification. Fix that. Reviewed-by: Arik Nemtsov Signed-off-by: Emmanuel Grumbach Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 9ec7061..3026c63 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2093,8 +2093,8 @@ enum ieee80211_tdls_actioncode { #define WLAN_EXT_CAPA5_TDLS_PROHIBITED BIT(6) #define WLAN_EXT_CAPA5_TDLS_CH_SW_PROHIBITED BIT(7) +#define WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED BIT(5) #define WLAN_EXT_CAPA8_OPMODE_NOTIF BIT(6) -#define WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED BIT(7) /* TDLS specific payload type in the LLC/SNAP header */ #define WLAN_TDLS_SNAP_RFTYPE 0x2