mac80211: fix BIT position for TDLS WIDE extended cap
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 19 Jul 2015 13:09:12 +0000 (16:09 +0300)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 27 Apr 2016 13:37:22 +0000 (15:37 +0200)
The bit was not according to ieee80211 specification.
Fix that.

Reviewed-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h

index 9ec7061b284a32eaec58277e17697cabdf0dcdc9..3026c6339b91d4e67234e38f3f6abd2e4b9867ca 100644 (file)
@@ -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