Temporarilly add a fix for intel compile until John merges the fix
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 9 Dec 2008 14:55:16 +0000 (06:55 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 9 Dec 2008 14:55:54 +0000 (06:55 -0800)
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat.diff

index f28d69624d4b2f6fb003cdb9deda42128e6b1bad..1a5b9be7c60f61e6b7140d47a977b8d591571ecc 100644 (file)
@@ -261,3 +261,20 @@ index 817f7f5..0c3f8fd 100644
 -obj-$(CONFIG_SGI_GRU)         += sgi-gru/
 -obj-$(CONFIG_HP_ILO)          += hpilo.o
 -obj-$(CONFIG_C2PORT)          += c2port/
+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);