summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/rx.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-03-26 09:57:14 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-03-27 16:03:19 -0400
commitc2b310a73b62f074b0019b940417cafbdbafde41 (patch)
tree186c947bf862262c81ecbc654cbe9a7bf02d50cf /drivers/net/wireless/libertas/rx.c
parent69dc5d9da5c499c23db7b80217023403da103816 (diff)
downloadblackbird-op-linux-c2b310a73b62f074b0019b940417cafbdbafde41.tar.gz
blackbird-op-linux-c2b310a73b62f074b0019b940417cafbdbafde41.zip
libertas: kill useless #define LBS_MONITOR_OFF 0
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/rx.c')
-rw-r--r--drivers/net/wireless/libertas/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c
index 149557a478ac..09f023089ea4 100644
--- a/drivers/net/wireless/libertas/rx.c
+++ b/drivers/net/wireless/libertas/rx.c
@@ -155,7 +155,7 @@ int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb)
skb->ip_summed = CHECKSUM_NONE;
- if (priv->monitormode != LBS_MONITOR_OFF)
+ if (priv->monitormode)
return process_rxed_802_11_packet(priv, skb);
p_rx_pkt = (struct rxpackethdr *) skb->data;
OpenPOWER on IntegriCloud