wlan: FTM second start crash fix.

New WIPHY API, with FTM mode, WIPHY registration does not happen.
So, cfg80211 does not have WIPHY instance.
But when unload driver, try to un-register WIPHY.
As a result, cfg80211 will crash with NULL pointer access.
If FTM mode, do not try to un-register WIPHY.

Change-Id: I598bab112c0dc351e36270252b55ca3747047302
CRs-fixed: 546549
1 file changed
tree: 50f77eac6bcbd3233e6965cb6cb8fa0f9731f06f
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig