diff options
author | Ujjal Roy <royujjal@gmail.com> | 2013-12-03 02:17:53 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-09 15:35:29 -0500 |
commit | ca8d6dfc929ad6e59eb523e7c057804b55e5673e (patch) | |
tree | 6aff0899c03f73a85ddc00caf7006544c5cde4f5 /drivers/net/wireless/mwifiex/main.h | |
parent | f8eb5ee5f56f09278b80100e65df08975867f03c (diff) |
mwifiex: fix rx_pending count imbalance
RX packets are handled in different paths. Not all paths have
decrement of rx_pending counter. This patch fixes the counter
imbalance.
Signed-off-by: Ujjal Roy <royujjal@gmail.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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 1d72f13adb9d..dc34457557f3 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -615,7 +615,7 @@ struct mwifiex_if_ops { | |||
615 | void (*cleanup_mpa_buf) (struct mwifiex_adapter *); | 615 | void (*cleanup_mpa_buf) (struct mwifiex_adapter *); |
616 | int (*cmdrsp_complete) (struct mwifiex_adapter *, struct sk_buff *); | 616 | int (*cmdrsp_complete) (struct mwifiex_adapter *, struct sk_buff *); |
617 | int (*event_complete) (struct mwifiex_adapter *, struct sk_buff *); | 617 | int (*event_complete) (struct mwifiex_adapter *, struct sk_buff *); |
618 | int (*data_complete) (struct mwifiex_adapter *, struct sk_buff *); | 618 | int (*data_complete) (struct mwifiex_adapter *); |
619 | int (*init_fw_port) (struct mwifiex_adapter *); | 619 | int (*init_fw_port) (struct mwifiex_adapter *); |
620 | int (*dnld_fw) (struct mwifiex_adapter *, struct mwifiex_fw_image *); | 620 | int (*dnld_fw) (struct mwifiex_adapter *, struct mwifiex_fw_image *); |
621 | void (*card_reset) (struct mwifiex_adapter *); | 621 | void (*card_reset) (struct mwifiex_adapter *); |