From: Luis R. Rodriguez Date: Tue, 9 Dec 2008 14:55:16 +0000 (-0800) Subject: Temporarilly add a fix for intel compile until John merges the fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2a8482cbd4481b2471c01d88993d79c7702d50d9;p=openwrt%2Fstaging%2Fblogic.git Temporarilly add a fix for intel compile until John merges the fix Signed-off-by: Rami Rosen Signed-off-by: Luis R. Rodriguez --- diff --git a/compat/compat.diff b/compat/compat.diff index f28d69624d4b..1a5b9be7c60f 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -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);