diff options
author | Avinash Patil <patila@marvell.com> | 2013-01-03 21:21:31 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-07 15:18:30 -0500 |
commit | fbd7e7ac6db3db8bccf3210d23b5a2a66471c538 (patch) | |
tree | 3a138321b0a97fc6ece0874d217e824e5290c5ea /drivers/net/wireless/mwifiex/main.h | |
parent | fc3314609047daf472b3ffc49f9a1c5608068713 (diff) | |
download | op-kernel-dev-fbd7e7ac6db3db8bccf3210d23b5a2a66471c538.zip op-kernel-dev-fbd7e7ac6db3db8bccf3210d23b5a2a66471c538.tar.gz |
mwifiex: flush TX ring for PCIe after disconnect or bss stop
This patch adds handler to clean PCIe TX rings after disconnect
or bss stop is called for PCIe based mwifiex driver.
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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index ef02a5b..51044e3 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h @@ -602,6 +602,7 @@ struct mwifiex_if_ops { int (*init_fw_port) (struct mwifiex_adapter *); int (*dnld_fw) (struct mwifiex_adapter *, struct mwifiex_fw_image *); void (*card_reset) (struct mwifiex_adapter *); + int (*clean_pcie_ring) (struct mwifiex_adapter *adapter); }; struct mwifiex_adapter { |