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)
commit06975884280976ba215ad0766bee1a69df612434
tree5620139c827f069c6c2df02d5797d94d27460c9a
parent061f2e69fedbcd7839c8e6e6b659e345acc3396f
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