wlan: Do not honour scan_done_callback on driver unload

From Kernel-3.14 onwards pending scan request is handled
as part of NETDEV_DOWN event, by invoking the cfg80211_scan_done
callback which frees the scan request structure. To support this
do not invoke scan_done_callback if driver unload is in progress
as NETDEV_DOWN will get called during driver unload.

Change-Id: I8ee0100a08fdc84972913d462d71debc97187d23
CRs-Fixed: 1004743
1 file changed
tree: debcb64748245cd34abfb5d83dec58fc4e442a41
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile