mwifiex: add init_fw_port handler for PCIe interface
authorAvinash Patil <patila@marvell.com>
Fri, 4 Jan 2013 05:21:29 +0000 (21:21 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:18:29 +0000 (15:18 -0500)
commitc6d1d87a10d1e5317701676c39bbec20e4651b91
tree138ef9a210509765b84fdd6b2ac23c06b1d2cd37
parent659c4788611f725ede2def6e4db5d8d4a59b93b5
mwifiex: add init_fw_port handler for PCIe interface

This patch adds support for init_fw_port handler for PCIe
interface, which resets RXBD read pointer for PCIe.
This fixes issue where RX doesn't work until some TX from
driver happens.

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/init.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/pcie.c