wlan: IBSS: Use proper staid to transmit the packets in IBSS mode.

In IBSS the staid is different for each peer but hdd uses the same
queue for all staid. While transmitting the packets the TL layer
set the pending bit for the staid for which it has just sent the
packet. Due to this the next pending packet in the HDD queue
(if present) is sent with staid of the previous packet but data
might be for a different staid . Thus wrong destination MAC
in 802.11 header is seen.

As a fix when TL fetch the packet from the queue get the staid again
from the packet and use that staid to transmit the packet.

Change-Id: I21a6d388cc6efb394fc3205b43b7dc417b756a5f
CRs-Fixed: 769532
2 files changed
tree: 282d419dc74dd2214cf56f61f73115e4cf447f61
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile