prima: Fix possible crash in STA+SAP concurrency

In STA+SAP concurrency, when stopping sap through iwpriv command
and if at the same time a restart SAP is called because of a
connection on STA interface on different channel, there is a
possibility that net device pointer is cleared in one context and
is accessed in a different context leading to a crash. Changes are
made to fix this.

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