aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-12-19 13:28:51 -0800
committerDmitry Shmidt <dimitrysh@google.com>2011-12-19 13:28:51 -0800
commitcf5b257bf49076a7cc2fcc7f560689f9e4ee5fc1 (patch)
tree15a7e840e9c901fd370972a0bd7dd86f50b20787 /src
parent2fd7fa6c75ed351b89297991cc5b5afff08d734c (diff)
downloadexternal_wpa_supplicant_8-cf5b257bf49076a7cc2fcc7f560689f9e4ee5fc1.zip
external_wpa_supplicant_8-cf5b257bf49076a7cc2fcc7f560689f9e4ee5fc1.tar.gz
external_wpa_supplicant_8-cf5b257bf49076a7cc2fcc7f560689f9e4ee5fc1.tar.bz2
Revert "nl80211: Prolong HANGED message to the wifi manager"
This reverts commit 6dd24fc3792d71edccef9b09140f9a44b063a553.
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_nl80211.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 9dc2494..df309c5 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -43,9 +43,6 @@
#if defined(ANDROID_BRCM_P2P_PATCH) && !defined(HOSTAPD)
#include "wpa_supplicant_i.h"
#endif
-#ifdef ANDROID
-#define WPA_EVENT_DRIVER_STATE "CTRL-EVENT-DRIVER-STATE "
-#endif
#ifdef CONFIG_LIBNL20
/* libnl 2.0 compatibility code */
#define nl_handle nl_sock
@@ -1519,15 +1516,9 @@ static int process_event(struct nl_msg *msg, void *arg)
}
drv->associated = 0;
os_memset(&data, 0, sizeof(data));
- if (tb[NL80211_ATTR_REASON_CODE]) {
+ if (tb[NL80211_ATTR_REASON_CODE])
data.disassoc_info.reason_code =
nla_get_u16(tb[NL80211_ATTR_REASON_CODE]);
-#ifdef ANDROID
- if (data.disassoc_info.reason_code == WLAN_REASON_UNSPECIFIED)
- wpa_msg(drv->ctx, MSG_INFO,
- WPA_EVENT_DRIVER_STATE "HANGED");
-#endif
- }
wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, &data);
break;
case NL80211_CMD_MICHAEL_MIC_FAILURE: