aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWeongyo Jeong <weongyo@FreeBSD.org>2008-03-17 02:30:13 +0000
committerWeongyo Jeong <weongyo@FreeBSD.org>2008-03-17 02:30:13 +0000
commit9744c849bfe062668c4876ad05b34c8e9b014f55 (patch)
tree0654ce7d56b9e7aedfed1104d74a5bb16e71a9ba /sys/dev
parent69f04a828ce3f9ef1bcaac2fe9b08134e66a3faa (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_zyd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c
index 6aab866c6119..509d33c39e76 100644
--- a/sys/dev/usb/if_zyd.c
+++ b/sys/dev/usb/if_zyd.c
@@ -2505,8 +2505,7 @@ zyd_init(void *priv)
return;
/* promiscuous mode */
- (void)zyd_write32(sc, ZYD_MAC_SNIFFER,
- (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : 0);
+ (void)zyd_write32(sc, ZYD_MAC_SNIFFER, 0);
/* multicast setup */
(void)zyd_set_multi(sc);