Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH ] iwlwifi: fix build error (iwl-rx.c).
@ 2008-12-09  6:37 Rami Rosen
  2008-12-09  6:43 ` reinette chatre
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2008-12-09  6:37 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, reinette.chatre, m.sujith

This patch adds #ifdef CONFIG_IWLWIFI_DEBUG in iwl_rx_reply_rx() method
in iwlwifi/iwl-rx.c) to avoid build error.
,caused by commit c778f6d6b339bb4981d5d2dd8716286f756b8474.

(wireless-testing tree.)

Signed-off-by: Rami Rosen <ramirose@gmail.com>

diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c
b/drivers/net/wireless/iwlwifi/iwl-rx.c
index 1938e6d..2a008b1 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,
 		priv->last_rx_noise = IWL_NOISE_MEAS_NOT_AVAILABLE;

 	/* Set "1" to report good data frames in groups of 100 */
+#ifdef CONFIG_IWLWIFI_DEBUG
 	if (unlikely(priv->debug_level & IWL_DL_RX))
 		iwl_dbg_report_frame(priv, rx_start, len, header, 1);
-
+#endif
 	IWL_DEBUG_STATS_LIMIT("Rssi %d, noise %d, qual %d, TSF %llu\n",
 		rx_status.signal, rx_status.noise, rx_status.signal,
 		(unsigned long long)rx_status.mactime);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-09  6:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09  6:37 [PATCH ] iwlwifi: fix build error (iwl-rx.c) Rami Rosen
2008-12-09  6:43 ` reinette chatre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox