ath6kl: Fix mgmt subtypes for station and p2p client
PATCH 6/6 ath6kl: Fix mgmt subtypes for station and p2p client
From: Mohammed Shafi Shajakhan <[email protected]>
The mgmt subtypes advertized for the STA mode seems to be inverted, fix this. Found this during code review.
Signed-off-by Mohammed Shafi Shajakhan <[email protected]>
--- drivers/net/wireless/ath/ath6kl/cfg80211.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/wireless/ath/ath6kl/cfg80211.c +4 -4
@@ -3364,9 +3364,9 @@ static const struct ieee80211_txrx_stypes ath6kl_mgmt_stypes[NUM_NL80211_IFTYPES] = { [NL80211_IFTYPE_STATION] = { .tx =BIT (IEEE80211_STYPE_ACTION >>4 ) | - BIT(IEEE80211_STYPE_PROBE_RESP >> 4), + BIT(IEEE80211_STYPE_PROBE_REQ >> 4), .rx =BIT (IEEE80211_STYPE_ACTION >>4 ) | -BIT (IEEE80211_STYPE_PROBE_REQ >>4 ) +BIT (IEEE80211_STYPE_PROBE_RESP >>4 ) }, [NL80211_IFTYPE_AP] = { .tx = BIT(IEEE80211_STYPE_ACTION >> 4) |
@@ -3376,9 +3376,9 @@ ath6kl_mgmt_stypes[NUM_NL80211_IFTYPES] = { }, [NL80211_IFTYPE_P2P_CLIENT ] = { .tx =BIT (IEEE80211_STYPE_ACTION >>4 ) | -BIT (IEEE80211_STYPE_PROBE_RESP >>4 ), +BIT (IEEE80211_STYPE_PROBE_REQ >>4 ), .rx =BIT (IEEE80211_STYPE_ACTION >>4 ) | -BIT (IEEE80211_STYPE_PROBE_REQ >>4 ) +BIT (IEEE80211_STYPE_PROBE_RESP >>4 ) }, [NL80211_IFTYPE_P2P_GO ] = { .tx = BIT(IEEE80211_STYPE_ACTION >> 4) |
Signature · 1 line
1.7.9.5