wlan: NULL pointer dereference in wlan_hdd_p2p.c

Currently context of pAdapter was assigned to
pHddCtx without checking if pAdapter is NULL
or not.As a part of fix , context of pAdapter
is assigned after  NULL check.

Change-Id: I3dae499adc2bb5d977d4e1d50c2785329917722c
CRs-Fixed: 658825
1 file changed
tree: 96f9c354575c1ad70f50a54e3af9cd5c77c71c83
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig