From c0ba6196182b085fcb39d1fdb8e4539b10d904e4 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Tue, 10 Mar 2009 09:48:47 +0000 Subject: remove IBSS and HostAP modes since these aren't advertised in ic->ic_caps pointed out by jsg@ --- sys/dev/usb/if_urtw.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/dev') 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 * @@ -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); -- cgit v1.2.3