wlan: In FTM mode release power_on_lock lock
When driver is loaded in FTM mode, it will acquire platform driver's
power_on_lock, but the same is not freed during unload. For suppose,
after unloading driver from FTM mode, if driver is loaded in STA mode
and SSR is triggered, it will fail because SSR notifier will wait on
power_on_lock infinitely, as the same lock is acquired but not freed
by driver, when it's loaded in FTM mode.
Hence in FTM mode release power_on_lock during unload.
Change-Id: Ie9380e50a475147f6f29124f50d00936d25330f4
CRs-Fixed: 886443
1 file changed