diff --git a/core/hdd/inc/wlan_hdd_wext.h b/core/hdd/inc/wlan_hdd_wext.h index 601d682ad8..b949041ebd 100644 --- a/core/hdd/inc/wlan_hdd_wext.h +++ b/core/hdd/inc/wlan_hdd_wext.h @@ -254,8 +254,6 @@ typedef struct hdd_wext_state_s { /* qdf event */ qdf_event_t hdd_qdf_event; - qdf_event_t scanevent; - /**Counter measure state, Started/Stopped*/ bool mTKIPCounterMeasures; diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index be013d5f42..5eb4d28be1 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -13487,10 +13487,6 @@ int hdd_register_wext(struct net_device *dev) return QDF_STATUS_E_FAILURE; } - if (!QDF_IS_STATUS_SUCCESS(qdf_event_create(&pwextBuf->scanevent))) { - hdd_err("ERROR: HDD scan event init failed!!"); - return QDF_STATUS_E_FAILURE; - } /* Register as a wireless device */ dev->wireless_handlers = (struct iw_handler_def *)&we_handler_def;