diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index cc61c937320f..c24844802a88 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -451,7 +451,6 @@ void iwl_rx_missed_beacon_notif(struct iwl_priv *priv, | |||
451 | struct iwl_rx_mem_buffer *rxb) | 451 | struct iwl_rx_mem_buffer *rxb) |
452 | 452 | ||
453 | { | 453 | { |
454 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB | ||
455 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; | 454 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; |
456 | struct iwl4965_missed_beacon_notif *missed_beacon; | 455 | struct iwl4965_missed_beacon_notif *missed_beacon; |
457 | 456 | ||
@@ -465,6 +464,5 @@ void iwl_rx_missed_beacon_notif(struct iwl_priv *priv, | |||
465 | if (!test_bit(STATUS_SCANNING, &priv->status)) | 464 | if (!test_bit(STATUS_SCANNING, &priv->status)) |
466 | iwl_init_sensitivity(priv); | 465 | iwl_init_sensitivity(priv); |
467 | } | 466 | } |
468 | #endif /* CONFIG_IWLWIFI_RUN_TIME_CALIB */ | ||
469 | } | 467 | } |
470 | EXPORT_SYMBOL(iwl_rx_missed_beacon_notif); | 468 | EXPORT_SYMBOL(iwl_rx_missed_beacon_notif); |