]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Remove unnecessary retrieval of first list entry in ath6kl_htc_tx_setup_scat_...
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Mon, 26 Sep 2011 09:19:03 +0000 (14:49 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Sep 2011 07:14:12 +0000 (10:14 +0300)
commit9683279a1a803e50159c3ba5dd9189aa1758dd00
tree5c3467462e5adea187c89fc211421c47e4782273
parentcb2361a05e3b3befd055cb07fd9029945d044fe0
ath6kl: Remove unnecessary retrieval of first list entry in ath6kl_htc_tx_setup_scat_list()

It is unnecessary to take the first list entry from queue again for
transmission. Sometimes it may look racy when the head of the list
changes between subsequent retrival, but should not happen in
practical.

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