qcacld-2.0: Handle skb head room allocation failure in Monitor mode

Sometimes the pskb_expand_head fails to allocate head room.
There is no check for the above failure. It leads to NULL pointer access.

Do not perform any skb operation in case of such failure.

Change-Id: I4ea4b23b3863d0dd43cd6bba550fd299bed2887c
CRs-Fixed: 2184024
1 file changed
tree: 692078cb27cce20b6fb45bec757f7556db3c2f86
  1. CORE/
  2. firmware_bin/
  3. wcnss/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile