cfg80211: fix WIPHY_FLAG_IBSS_RSN bit
PATCH 1/1 cfg80211: fix WIPHY_FLAG_IBSS_RSN bit
WIPHY_FLAG_IBSS_RSN is BIT(7) as is WIPHY_FLAG_CONTROL_PORT_PROTOCOL. Change to BIT(8).
Cc Johannes Berg <[email protected]>
Signed-off-by Jussi Kivilinna <[email protected]>
--- include/net/cfg80211.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/net/cfg80211.h +1 -1
@@ -1355,7 +1355,7 @@ enum wiphy_flags {WIPHY_FLAG_4ADDR_AP =BIT (5 ),WIPHY_FLAG_4ADDR_STATION =BIT (6 ),WIPHY_FLAG_CONTROL_PORT_PROTOCOL =BIT (7 ), - WIPHY_FLAG_IBSS_RSN = BIT(7), + WIPHY_FLAG_IBSS_RSN = BIT(8), }; struct mac_address {
Quoted 2 lines · Jussi Kivilinna
WIPHY_FLAG_IBSS_RSNis BIT(7) as isWIPHY_FLAG_CONTROL_PORT_PROTOCOL. Change to BIT(8).
Thanks Jussi!
Acked-by Johannes Berg <[email protected]>
Quoted 21 lines
Cc Johannes Berg <[email protected]>Signed-off-by Jussi Kivilinna <[email protected]>--- include/net/cfg80211.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)include/net/cfg80211.h +1
-1@@ -1355,7 +1355,7 @@ enum wiphy_flags {WIPHY_FLAG_4ADDR_AP =BIT (5 ),WIPHY_FLAG_4ADDR_STATION =BIT (6 ),WIPHY_FLAG_CONTROL_PORT_PROTOCOL =BIT (7 ), - WIPHY_FLAG_IBSS_RSN = BIT(7), + WIPHY_FLAG_IBSS_RSN = BIT(8), }; struct mac_address {