]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: don't try to associate when bss_mode is not STA
authorBing Zhao <bzhao@marvell.com>
Sat, 20 Apr 2013 04:00:44 +0000 (21:00 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:28 +0000 (15:20 -0400)
commit52cfbbebb7174e29e57843484a931dfe9f195d37
treedfa8a6c6386663cb98cee395efa5a1a302d40ad6
parent110521fbeca8ba0673cc406812dfe44e55b63d66
mwifiex: don't try to associate when bss_mode is not STA

We have blocked association attempts on interfaces configured in
AP and AD-HOC modes. P2P mode should be blocked too.

Furthermore, an error code must be returned if we are unable to
associate.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c