diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-05-03 14:53:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-03 14:53:49 -0400 |
commit | 1d7d969dd0b467ba32cf3829e8bf104a5084150d (patch) | |
tree | f0de3aca8a33bed612ba2c09f61fcabe289dc14d /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 12ef116bf750c221e214e33c61e7f4c98300b5fd (diff) | |
parent | f8478df1eab2f11aefc4b6668c5867949ab96bd7 (diff) |
Merge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index c9da39d7c414..867d105c7f08 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -956,7 +956,7 @@ static void iwl3945_setup_rx_handlers(struct iwl_priv *priv) | |||
956 | * statistics request from the host as well as for the periodic | 956 | * statistics request from the host as well as for the periodic |
957 | * statistics notifications (after received beacons) from the uCode. | 957 | * statistics notifications (after received beacons) from the uCode. |
958 | */ | 958 | */ |
959 | priv->rx_handlers[REPLY_STATISTICS_CMD] = iwl3945_hw_rx_statistics; | 959 | priv->rx_handlers[REPLY_STATISTICS_CMD] = iwl3945_reply_statistics; |
960 | priv->rx_handlers[STATISTICS_NOTIFICATION] = iwl3945_hw_rx_statistics; | 960 | priv->rx_handlers[STATISTICS_NOTIFICATION] = iwl3945_hw_rx_statistics; |
961 | 961 | ||
962 | iwl_setup_rx_scan_handlers(priv); | 962 | iwl_setup_rx_scan_handlers(priv); |
@@ -2938,7 +2938,8 @@ void iwl3945_request_scan(struct iwl_priv *priv) | |||
2938 | * is marked passive, we can do active scanning if we | 2938 | * is marked passive, we can do active scanning if we |
2939 | * detect transmissions. | 2939 | * detect transmissions. |
2940 | */ | 2940 | */ |
2941 | scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH : 0; | 2941 | scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : |
2942 | IWL_GOOD_CRC_TH_DISABLED; | ||
2942 | band = IEEE80211_BAND_5GHZ; | 2943 | band = IEEE80211_BAND_5GHZ; |
2943 | break; | 2944 | break; |
2944 | default: | 2945 | default: |