]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: update cfg80211 with correct reason code when association fails
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 6 Oct 2012 03:21:42 +0000 (20:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Oct 2012 19:06:03 +0000 (15:06 -0400)
commita2f4a6d4444f7cc59b25c9ea38c2f75003c9349f
tree5620139c827f069c6c2df02d5797d94d27460c9a
parente219d98455b842b82687d6508ac8287e60630cd6
mwifiex: update cfg80211 with correct reason code when association fails

This patch adds support to send correct reason code got from
firmware when association attempt fails. Also, the error message
displayed for association failure due to network incompatibility
is modified. Current message "cannot find ssid.." misleads user.

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