diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-12-09 01:37:28 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 14:01:29 -0500 |
commit | 21a49fc674afd00db6de2f729f8c8e4fab2f1bdf (patch) | |
tree | 31e7bbda7609a07c1b097800fe5efac0c6ff8395 /drivers/net | |
parent | 8dffff216fcac4f79078478085e86d68db64922e (diff) |
iwlwifi: fix build error (iwl-rx.c).
This patch adds #ifdef CONFIG_IWLWIFI_DEBUG in iwl_rx_reply_rx()
method in iwlwifi/iwl-rx.c) to avoid build error caused by "iwlwifi:
implement iwl_debug_report_frame for iwlagn".
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index 1938e6d5026a..2a008b1304de 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -1071,9 +1071,10 @@ void iwl_rx_reply_rx(struct iwl_priv *priv, | |||
1071 | priv->last_rx_noise = IWL_NOISE_MEAS_NOT_AVAILABLE; | 1071 | priv->last_rx_noise = IWL_NOISE_MEAS_NOT_AVAILABLE; |
1072 | 1072 | ||
1073 | /* Set "1" to report good data frames in groups of 100 */ | 1073 | /* Set "1" to report good data frames in groups of 100 */ |
1074 | #ifdef CONFIG_IWLWIFI_DEBUG | ||
1074 | if (unlikely(priv->debug_level & IWL_DL_RX)) | 1075 | if (unlikely(priv->debug_level & IWL_DL_RX)) |
1075 | iwl_dbg_report_frame(priv, rx_start, len, header, 1); | 1076 | iwl_dbg_report_frame(priv, rx_start, len, header, 1); |
1076 | 1077 | #endif | |
1077 | IWL_DEBUG_STATS_LIMIT("Rssi %d, noise %d, qual %d, TSF %llu\n", | 1078 | IWL_DEBUG_STATS_LIMIT("Rssi %d, noise %d, qual %d, TSF %llu\n", |
1078 | rx_status.signal, rx_status.noise, rx_status.signal, | 1079 | rx_status.signal, rx_status.noise, rx_status.signal, |
1079 | (unsigned long long)rx_status.mactime); | 1080 | (unsigned long long)rx_status.mactime); |