ath6kl: Fix bug in using tid given by addba/delba req events
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Sat, 21 Jan 2012 09:52:52 +0000 (15:22 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 24 Jan 2012 12:12:27 +0000 (14:12 +0200)
commit3fdc099109e75359e5de54c56478c06255850741
tree90875415bcc1fb09f2f9ad838e9bbf3c4a17cb52
parent17741c8db4f53200a51600d1644ee6a2b76f0984
ath6kl: Fix bug in using tid given by addba/delba req events

The tid which is given in addba/delba req event is not
just tid but also muxed with the assoc id (MSB 4 bits)
which can be used to determine the corresponding connected
station in softap mode. The actual tid is LSB 4 bits. Using
the tid as it is with rx_tid[] would result in OOB or invalid
memory access in AP mode.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/txrx.c