wlan: Fix NULL pointer dereference in wlan_hdd_tdls_add_station()

Static source code analysis identified an issue in function
wlan_hdd_tdls_add_station() where a pointer that had been positively
checked for NULL could subsequently be dereferenced.  Modify the code
so that if the StaParams pointer is NULL processing does not continue.

Change-Id: Ib92c225cb978b05d8750220763e41806f60a8302
CRs-fixed: 470188
1 file changed
tree: 4378ea013c0243d6f8c29b71c5e34bad23776f46
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig