Revert "nl80211: Prolong HANGED message to the wifi manager"
This reverts commit 6dd24fc3792d71edccef9b09140f9a44b063a553.
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 @@
}
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: