aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
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;