]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix empty TX ring check for PCIe8897 while unloading driver
authorAvinash Patil <patila@marvell.com>
Sat, 16 Feb 2013 05:37:54 +0000 (21:37 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Feb 2013 20:30:39 +0000 (15:30 -0500)
commitcefc42d3423897b47ee168617806cf26cf6186fe
treeab81431f3f06ced7230883604e3608b6938224fb
parent432074e90b52b9f8e7fb037f6a4a848eaf3ca471
mwifiex: fix empty TX ring check for PCIe8897 while unloading driver

While unloading driver, we free all pending TX packets by flushing
TX ring. There is unhandled case for PCIE8897 while checking for
ring empty condition.

This patch adds the handling by calling mwifiex_pcie_txbd_empty().

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/pcie.c