wlan: Don't allow 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: I3a76572dceb47ce587d9d4794a8ba27b6a1b19b4
CRs-Fixed: 812422
1 file changed
tree: 09257b6c39d379a0632ffe72cd73f51b133b4b88
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile