Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a0be8f57 authored by Surabhi Vishnoi's avatar Surabhi Vishnoi
Browse files

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
parent bfcc1c4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment