wlan: Fix for invalid pointer access for roc context.

Due to the race between MCThread and Suplicant thread,
After the roc callback is invoked from the MCThread  where the
roc context is freed, cancel roc from supplicant thread is
getting invoked which tries to access the roc context is already
freed.

To address this, protect roc context in roc callback while freeing
the roc context.

CRs-Fixed: 887593
Change-Id: I8f1bb170f72ac5c558c0db7f0f791c33c644db76
1 file changed
tree: 48940822d8ab15484e20ca522411fc7ae7b467e0
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile