projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01ac8f
)
carl9170 firmware: remove wol #ifdef leftovers
author
Christian Lamparter
<chunkeey@googlemail.com>
Mon, 21 Nov 2011 19:18:47 +0000
(20:18 +0100)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Mon, 21 Nov 2011 19:18:47 +0000
(20:18 +0100)
Thanks to the aggressive cflags, the compiler will
optimize the check away if wol is not enabled.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/wlan.c
patch
|
blob
|
history
diff --git
a/carlfw/src/wlan.c
b/carlfw/src/wlan.c
index 69d90e628d97062ac968aaadc025e8d4617ed3d8..eba6222d6281e276853682ffcec36c421070cab2 100644
(file)
--- 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