summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2009-03-10 09:48:47 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2009-03-10 09:48:47 +0000
commitc0ba6196182b085fcb39d1fdb8e4539b10d904e4 (patch)
tree02f0b805472763ed60700b991ab5b98823d9aeb4 /sys
parentf421de0b51a79666356659dba0cdbd9274e09cbc (diff)
remove IBSS and HostAP modes since these aren't advertised in ic->ic_caps
pointed out by jsg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/if_urtw.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/usb/if_urtw.c b/sys/dev/usb/if_urtw.c
index 1ffd6e7ccd1..bef10ef948b 100644
--- a/sys/dev/usb/if_urtw.c
+++ b/sys/dev/usb/if_urtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_urtw.c,v 1.6 2009/03/03 07:49:27 kevlo Exp $ */
+/* $OpenBSD: if_urtw.c,v 1.7 2009/03/10 09:48:46 kevlo Exp $ */
/*-
* Copyright (c) 2008 Weongyo Jeong <weongyo@FreeBSD.org>
*
@@ -1800,12 +1800,6 @@ urtw_update_msr(struct urtw_softc *sc)
case IEEE80211_M_MONITOR:
data |= URTW_MSR_LINK_STA;
break;
- case IEEE80211_M_IBSS:
- data |= URTW_MSR_LINK_ADHOC;
- break;
- case IEEE80211_M_HOSTAP:
- data |= URTW_MSR_LINK_HOSTAP;
- break;
default:
panic("unsupported operation mode 0x%x\n",
ic->ic_opmode);