diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-10-06 07:21:43 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-08 23:06:03 +0400 |
commit | 8cc1d52390f53c6dd46ae71e29ea000634a17e3a (patch) | |
tree | 71f8855235d3ae8b8bd5e6e6c5637b3d132ee3e4 /drivers/net/wireless/ath/ath5k/base.c | |
parent | 06975884280976ba215ad0766bee1a69df612434 (diff) | |
download | linux-8cc1d52390f53c6dd46ae71e29ea000634a17e3a.tar.xz |
mwifiex: update cfg80211 with correct reason code when connection is lost
Driver gets LINK_LOST, DEAUTHENTICATED and DISASSOCIATED events
from firmware when connection is lost in different scenarios.
Currently we are using common code WLAN_REASON_DEAUTH_LEAVING
for these cases.
This patch adds support to parse an actual reason code from
firmware event body and send it to cfg80211.
WLAN_REASON_DEAUTH_LEAVING code is used if deauth is initiated
by our device.
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
0 files changed, 0 insertions, 0 deletions