wlan: Acquire rtnl lock while unregistering SAP ioctls.

As part of ioctl unregister, HOST will set wireless_handlers
to NULL. This may lead to NULL pointer dereference if kernel
is processing any IOCTL simultaneously.
Hence, acquire rtnl_lock while making wireless_handlers to NULL,
as same lock is acquired while processing ioctl.

Change-Id: Ic4f54dd9b8cc1d98b0c4d4cd95e4ee24d7d6f5a4
CRs-Fixed: 788485
6 files changed
tree: 83a80967e96eaeaa3fda283059da4abec9f5f80a
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile