wlan: prima: null check after kzalloc

The existing logic in wlan_hdd_cfg80211_inform_bss_frame() will
dereference a NULL pointer if the memory allocation for 'mgmt' fails.
Perform a NULL check on the allocation before using it.

Change-Id: I6458425fcba69e954bafc4b223a719a1fc9f2036
CR-Fixed: nNA
1 file changed
tree: 254fc0610c511f47254282580710d198c9485572
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Kconfig
  5. Makefile