mwifiex: correction in status codes used for association failure
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 18 Jan 2013 01:41:57 +0000 (17:41 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Jan 2013 21:01:30 +0000 (16:01 -0500)
commit7532c7d0138a4984eb0c8b12b9c310cf8a6d6977
treec71314f99ea5969e43e1880b34f1e92b91f9e752
parent84e9e8ebd369679a958200a8baca96aafb2393bb
mwifiex: correction in status codes used for association failure

When AP responds with appropriate status code, we forward that
code correctly to cfg80211. But sometimes when there is no
response from AP, our firmware uses proprietary status codes.
We will map authentication timeout to WLAN_STATUS_AUTH_TIMEOUT
and other proprietary codes to WLAN_STATUS_UNSPECIFIED_FAILURE.

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/fw.h
drivers/net/wireless/mwifiex/join.c