]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbaf26e3b2e8145d0c73a013951462789f057919
treef42fa6dd7a6e471a106ee573bd7ff8715d3eff32
parent8f0cb5bebef1cb67f3e336a7f739141e435cf7ba
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