diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-09-19 13:00:42 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-26 17:06:51 -0400 |
commit | 2ce73c02743f0abf7dbf0cc05cf0f92cf7ed951d (patch) | |
tree | f42fa6dd7a6e471a106ee573bd7ff8715d3eff32 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | fbf019909173c683d85f7f63b0a33746bf5e4a02 (diff) | |
download | linux-2ce73c02743f0abf7dbf0cc05cf0f92cf7ed951d.tar.gz |
ath9k: Fix p2p address management
When multiple channel contexts are enabled, a p2p interface
that is assigned to a context will have an address that
is different from the device mac address, which is used
by wpa_s as the p2p device ID.
Certain frames like provision requests use the device address
and these get dropped since ath9k_calculate_summary_state()
iterates over only the active interfaces in a context and the
device address is not used.
Fix this by adding the device mac address to the bssid mask.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index d2a1ee1b072d..37a5ccf64dff 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -354,6 +354,7 @@ struct ath_chanctx { bool switch_after_beacon; short nvifs; + short nvifs_assigned; unsigned int rxfilter; }; |