wlan: Avoid kernel panic during change interface

Check isLoadUnloadInProgress flag during change interface.
Move all the context related check into common function and
call this function for all cfg80211 ops.

Change-Id: Ib3b26f11ecef1dfb9324817ef8fcf52d20162e1d
CRs-fixed: 490340
4 files changed
tree: dc1e060edbd563f96111409e0e3054fa34670336
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig