wlan: Fix for memory corruption

For failure case we shouldn't access staId since it is default value
will be out of range.

Change-Id: Ief0f173d5fa6af6e9939db0d2681fa734c7708ac
CR-Fixed: 398444
1 file changed
tree: 53b6a91be44d88f0b1be89078c8d5b16cf48d643
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Kconfig
  5. Makefile