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)
commitaad9339fa2a5e5b51874cfec9883819f59090198
tree5c3467462e5adea187c89fc211421c47e4782273
parent3038fac8d8dbecbda8fe92eb94bf1992e6b60ee4
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