diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-14 20:15:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-14 20:15:39 -0400 |
commit | 942e7b102a4827fdb69a39c7f07c544542589ef9 (patch) | |
tree | 4c47174c91eb76aaa31abc141adbee1acc649987 /drivers/net/wireless/iwlwifi/iwl-calib.c | |
parent | 7d06b2e053d2d536348e3a0f6bb02982a41bea37 (diff) | |
parent | 87291c0269e77b029282676448fed3706a54211a (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-calib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-calib.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-calib.c b/drivers/net/wireless/iwlwifi/iwl-calib.c index a6c7f0d9a414..48f58000b64b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-calib.c +++ b/drivers/net/wireless/iwlwifi/iwl-calib.c | |||
@@ -60,13 +60,11 @@ | |||
60 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 60 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
61 | *****************************************************************************/ | 61 | *****************************************************************************/ |
62 | 62 | ||
63 | #include <linux/kernel.h> | ||
64 | #include <net/mac80211.h> | 63 | #include <net/mac80211.h> |
65 | 64 | ||
66 | #include "iwl-dev.h" | 65 | #include "iwl-dev.h" |
67 | #include "iwl-core.h" | 66 | #include "iwl-core.h" |
68 | #include "iwl-calib.h" | 67 | #include "iwl-calib.h" |
69 | #include "iwl-eeprom.h" | ||
70 | 68 | ||
71 | /* "false alarms" are signals that our DSP tries to lock onto, | 69 | /* "false alarms" are signals that our DSP tries to lock onto, |
72 | * but then determines that they are either noise, or transmissions | 70 | * but then determines that they are either noise, or transmissions |
@@ -435,8 +433,6 @@ void iwl_init_sensitivity(struct iwl_priv *priv) | |||
435 | data = &(priv->sensitivity_data); | 433 | data = &(priv->sensitivity_data); |
436 | 434 | ||
437 | if (ranges == NULL) | 435 | if (ranges == NULL) |
438 | /* can happen if IWLWIFI_RUN_TIME_CALIB is selected | ||
439 | * but no IWLXXXX_RUN_TIME_CALIB for specific is selected */ | ||
440 | return; | 436 | return; |
441 | 437 | ||
442 | memset(data, 0, sizeof(struct iwl_sensitivity_data)); | 438 | memset(data, 0, sizeof(struct iwl_sensitivity_data)); |