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: 7443cd7e0f753a7f003e599ff6e10edd86ce205c
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig