wil6210: fix wrong index in wil_vring_free
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Thu, 11 Jul 2013 15:03:38 +0000 (18:03 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:54:37 +0000 (16:54 -0400)
commit4d1ac0721aae84eec3c8aa54c7574b14f79863bc
treedfe239129bdee59919737f7673a4e7652cd648a8
parentf988b23f7a5045ec5da627ced75de1c2eb080af8
wil6210: fix wrong index in wil_vring_free

When destroying Rx vring, branch for Rx used wrong Tx descriptor:
while SW context was taken for "head", HW descriptor was, by mistake,
taken from "tail"

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/txrx.c