From: Amitkumar Karwar Date: Sat, 6 Oct 2012 03:21:43 +0000 (-0700) Subject: mwifiex: update cfg80211 with correct reason code when connection is lost X-Git-Tag: v3.7-rc1~25^2~31^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cc1d52390f53c6dd46ae71e29ea000634a17e3a;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed