wlan: Synchronize cancel remain on channel and ROC expiry.

When remain on channel timer expires, ROC callback
is invoked which will free the  remain_on_chan_ctx
Context, later supplicant is is issuing a cancel
remain on channel which will de-reference
remain_on_chan_ctx.

To address this, accquire a mutex lock while cancel
remain on channel.

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