wlan: Add BUG_ON if ROC timer is not stopped before freeing ROC ctx

1. In ROC callback wlan_hdd_remain_on_channel_callback(), if ROC timer
is not stopped before freeing the ROC context, trigger kernel panic
by invoking BUG_ON.

2. Also if the ROC context is still valid even before allocating a new
ROC context, trigger the kernel panic.

CRs-Fixed: 1050402
Change-Id: I2eefcdd61fd51dad06970b9547c99ad521a95a71
1 file changed
tree: 0b35d727b7fee7ffe2179e9ba039c83ef6bfe5a2
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile