wlan: Avoid calling sleeping functions during multicast of nl messages

In the current code, when sending mutlticast nl messages to userspace,
GFP_KERNEL flag is passed and there is possibility of sleeping kernel
API being called from soft irq context and because of this kernel may
complain. So, before sending multicast nl messages, the current
execution context is verified and suitable flag (either GFP_KERNEL or
GFP_ATOMIC) is passed so that sleep can be prevented.

Change-Id: If0e7d45719ee2a5d3e176cf34e920155985e7bc1
CRs-Fixed: 828852
2 files changed
tree: 049e2ecf7a1c799a605a010b21ba7cd33523f010
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile