mwifiex: fix invalid access of PCIe RxBD ring buffer descriptor
authorAvinash Patil <patila@marvell.com>
Wed, 23 Jan 2013 00:29:03 +0000 (16:29 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jan 2013 20:06:39 +0000 (15:06 -0500)
commit6ccea75e701d5d452b674dd5550c0caceccb5d56
treea9a773c45f5cf92e1615dd70be5d9e7d21f04613
parentdef64521572d8330bfa6d855e278507100fdf180
mwifiex: fix invalid access of PCIe RxBD ring buffer descriptor

This patch fixes invalid access of RxBD ring buffer descriptor's
length and flag inside PCIe send_data_complete() routine. We are
supposed to modify TxBD buffer descriptor's length and flag here.

Signed-off-by: Avinash Patil <patila@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