Wlan: Add IBSS sta in sta hash once sta is registered

In IBSS case, sta is added by MC thread in hash table before
wma queue locks are initialized for the staid.

As soon as sta is added in sta hash, iperf thread can call
hdd_ibss_hard_start_xmit for the staid and try to acquire wma
queue lock.

A situation may arise where iperf thread tries to acquire lock
but MC thread have not initialized it yet.

To avoid this add the sta in the hash after sta registration is
completed and queue locks are initialized.

Change-Id: Iaaf27633adbfd2b96a858dc1137431d1174a4d1f
CRs-Fixed: 973777
1 file changed
tree: 2fa754a76006c0130033e02f1d25037be3031317
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile