aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2008-06-30 05:23:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-30 17:37:39 -0400
commit8f91aecb4cdc2d786df8941e827b9dff3c10a4e4 (patch)
tree868178c41e3559b7f91bda02a78f4a9caea79fe6 /drivers/net/wireless/iwlwifi/iwl4965-base.c
parent43d59b323743b8a01e9ad1a1b31b0d7c0ef6e35a (diff)
iwlwifi: move RX stats to core, and move temperature to handler
This patch moves RX stats flow to core modules, and moves temperature calibration to handler since it is not needed in 5000. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 0a279d15e058..13d53f3009d8 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -1387,8 +1387,8 @@ static void iwl4965_setup_rx_handlers(struct iwl_priv *priv)
1387 * statistics request from the host as well as for the periodic 1387 * statistics request from the host as well as for the periodic
1388 * statistics notifications (after received beacons) from the uCode. 1388 * statistics notifications (after received beacons) from the uCode.
1389 */ 1389 */
1390 priv->rx_handlers[REPLY_STATISTICS_CMD] = iwl4965_hw_rx_statistics; 1390 priv->rx_handlers[REPLY_STATISTICS_CMD] = iwl_rx_statistics;
1391 priv->rx_handlers[STATISTICS_NOTIFICATION] = iwl4965_hw_rx_statistics; 1391 priv->rx_handlers[STATISTICS_NOTIFICATION] = iwl_rx_statistics;
1392 1392
1393 iwl_setup_rx_scan_handlers(priv); 1393 iwl_setup_rx_scan_handlers(priv);
1394 1394
@@ -4130,7 +4130,7 @@ static ssize_t show_statistics(struct device *d,
4130 struct device_attribute *attr, char *buf) 4130 struct device_attribute *attr, char *buf)
4131{ 4131{
4132 struct iwl_priv *priv = dev_get_drvdata(d); 4132 struct iwl_priv *priv = dev_get_drvdata(d);
4133 u32 size = sizeof(struct iwl4965_notif_statistics); 4133 u32 size = sizeof(struct iwl_notif_statistics);
4134 u32 len = 0, ofs = 0; 4134 u32 len = 0, ofs = 0;
4135 u8 *data = (u8 *) & priv->statistics; 4135 u8 *data = (u8 *) & priv->statistics;
4136 int rc = 0; 4136 int rc = 0;