From: Christian Lamparter Date: Mon, 21 Nov 2011 19:18:47 +0000 (+0100) Subject: carl9170 firmware: remove wol #ifdef leftovers X-Git-Tag: 1.9.5~33 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=ebbded98bb17ae48a0a48065dd458eed2161c124;p=carl9170fw.git carl9170 firmware: remove wol #ifdef leftovers Thanks to the aggressive cflags, the compiler will optimize the check away if wol is not enabled. Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/wlan.c b/carlfw/src/wlan.c index 69d90e6..eba6222 100644 --- a/carlfw/src/wlan.c +++ b/carlfw/src/wlan.c @@ -707,12 +707,10 @@ static unsigned int wlan_rx_filter(struct dma_desc *desc) rx_filter |= CARL9170_RX_FILTER_MGMT; } -#ifdef CONFIG_CARL9170FW_WOL if (unlikely(fw.suspend_mode == CARL9170_HOST_SUSPENDED)) { wol_rx(rx_filter, hdr, min(data_len, (unsigned int)AR9170_BLOCK_SIZE)); } -#endif /* CONFIG_CARL9170FW_WOL */ #undef AR9170_RX_ERROR_BAD