]> 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)
commit46d78560df2f529a6f5f48e68872e87dd6fd1fcc
tree5c3467462e5adea187c89fc211421c47e4782273
parent1634b33f82d4f118c0e41e0c63838d66dd37d17d
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