ath9k: Fix p2p address management
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 19 Sep 2014 07:30:42 +0000 (13:00 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Sep 2014 21:06:51 +0000 (17:06 -0400)
commit2ce73c02743f0abf7dbf0cc05cf0f92cf7ed951d
treef42fa6dd7a6e471a106ee573bd7ff8715d3eff32
parentfbf019909173c683d85f7f63b0a33746bf5e4a02
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>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c