android_kernel_xiaomi_sm8350/core/hdd
Sourav Mohapatra 421d42bb44 qcacld-3.0: Synchronize __con_mode_handler and __hdd_open
Interface up runs in normal mode (wifi@1.0-service) and it gets
preempted by the con_mode change handler when Monitor mode is
invoked via user. Then again when the normal mode gets scheduled
after the completion of Monitor mode, it tries to access contents
freed during the con_mode change.

The execution of __con_mode_handler and __hdd_open is
synchronized with help of a mutex lock and an atomic variable

Change-Id: Ia78c225a21e2c505ffae6b16647ba8f2c661bbbd
CRs-Fixed: 2158683
2018-01-17 01:40:56 -08:00
..
inc qcacld-3.0: Synchronize __con_mode_handler and __hdd_open 2018-01-17 01:40:56 -08:00
src qcacld-3.0: Synchronize __con_mode_handler and __hdd_open 2018-01-17 01:40:56 -08:00