wlan: Fix the access to uninitialized objects in SSR sequence
Currently, hdd_init_tx_rx and hdd_sta_id_hash_attach are called only when the interface is opened. During SSR, in hdd_reset_all_adapters hdd_deinit_tx_rx and hdd_sta_id_hash_detach are called unconditionally, this leads to invalid access to unintialized objects of that inteface. Fix this issue by calling hdd_deinit_tx_rx and hdd_sta_id_hash_detach on condition whether interface is open or not. Change-Id: If251be60a7ad0d8f374b4bf401f4d83804502630 CRs-Fixed: 2729530
Loading
Please register or sign in to comment