diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-08-24 10:27:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-25 14:43:08 -0400 |
commit | 903786a5626e7214d97b232bece88ee75e37d021 (patch) | |
tree | 0949459e5d30975f18ec123f8910378f3fae9760 /drivers/net/wireless | |
parent | 5eb5a52da6ef04604cf8faca43ec670f69f417d3 (diff) |
iwlwifi: fix compile error without debugging support
Encounter compiler error when iwlwifi debugging support is
disabled, fix it.
This compiler error was introduced by the previous WiFi/BT coexist patchset.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 33aa7a5eea8a..2939699a1200 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -206,7 +206,6 @@ static void iwl_rx_scan_results_notif(struct iwl_priv *priv, | |||
206 | static void iwl_rx_scan_complete_notif(struct iwl_priv *priv, | 206 | static void iwl_rx_scan_complete_notif(struct iwl_priv *priv, |
207 | struct iwl_rx_mem_buffer *rxb) | 207 | struct iwl_rx_mem_buffer *rxb) |
208 | { | 208 | { |
209 | #ifdef CONFIG_IWLWIFI_DEBUG | ||
210 | struct iwl_rx_packet *pkt = rxb_addr(rxb); | 209 | struct iwl_rx_packet *pkt = rxb_addr(rxb); |
211 | struct iwl_scancomplete_notification *scan_notif = (void *)pkt->u.raw; | 210 | struct iwl_scancomplete_notification *scan_notif = (void *)pkt->u.raw; |
212 | 211 | ||
@@ -214,7 +213,6 @@ static void iwl_rx_scan_complete_notif(struct iwl_priv *priv, | |||
214 | scan_notif->scanned_channels, | 213 | scan_notif->scanned_channels, |
215 | scan_notif->tsf_low, | 214 | scan_notif->tsf_low, |
216 | scan_notif->tsf_high, scan_notif->status); | 215 | scan_notif->tsf_high, scan_notif->status); |
217 | #endif | ||
218 | 216 | ||
219 | /* The HW is no longer scanning */ | 217 | /* The HW is no longer scanning */ |
220 | clear_bit(STATUS_SCAN_HW, &priv->status); | 218 | clear_bit(STATUS_SCAN_HW, &priv->status); |