wlan: Halt rmmod when SSR is in progress

There is a race condtion during rmmod exit func where driver wait
to acquire rtnl_lock and in case of active thread inside driver,
it waits for long. In between if SSR occurs we set SSR variable
and wait for any active to exit from driver. When active thread
exits both SSR and rmmod exit function are executed in parallel
causing undefined behaviour.
Now acquiring rtnl_lock before checking for logpinProgress i.e
if SSR is in prgress.

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