diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-08-26 02:10:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-29 15:25:34 -0400 |
commit | 1f7b6172db86e9ab2b4cd794441bb2c40ab287fc (patch) | |
tree | 3e44d755f23dddfd49abe1106f70e661dd87c474 /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | e4ef84d94b0dbb75b4da6628611341af5812360f (diff) |
iwlagn: move isr_statistics to transport layer
It is accessed by the transport layer only, hence the move.
The debugfs handlers that accessed it moved to the transport layer too.
The rx_handlers part of it stayed in the upper layer and a special debugfs
has been added for it
Also add missing includes to iwl-commands.h.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index a5e4ddad2e04..d7c7c93b2daf 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -1020,7 +1020,7 @@ void iwl_rx_dispatch(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) | |||
1020 | * handle those that need handling via function in | 1020 | * handle those that need handling via function in |
1021 | * rx_handlers table. See iwl_setup_rx_handlers() */ | 1021 | * rx_handlers table. See iwl_setup_rx_handlers() */ |
1022 | if (priv->rx_handlers[pkt->hdr.cmd]) { | 1022 | if (priv->rx_handlers[pkt->hdr.cmd]) { |
1023 | priv->isr_stats.rx_handlers[pkt->hdr.cmd]++; | 1023 | priv->rx_handlers_stats[pkt->hdr.cmd]++; |
1024 | priv->rx_handlers[pkt->hdr.cmd] (priv, rxb); | 1024 | priv->rx_handlers[pkt->hdr.cmd] (priv, rxb); |
1025 | } else { | 1025 | } else { |
1026 | /* No handling needed */ | 1026 | /* No handling needed */ |