diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index b2daec356310..daaf6cbce257 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -603,7 +603,6 @@ static void hdd_hostapd_uninit(struct net_device *dev) hdd_deinit_adapter(hdd_ctx, adapter, true); /* after uninit our adapter structure will no longer be valid */ - adapter->dev = NULL; adapter->magic = 0; hdd_exit();