summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wpi.c
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-08-17 11:08:09 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-08-17 11:08:09 +0000
commit37dad06226f98480f4625218d6d81ac9b8652b9a (patch)
treecb37af4fd1007e609a697cffe19504eb541b3655 /sys/dev/pci/if_wpi.c
parenteaaf90bb79bf22e4a189a89f2c2f8fe5314612b6 (diff)
wpi(4) scans all bands at once, as far as the net80211 stack is concerned.
So set the appropriate scan capability flags in the ic. ok sthen@
Diffstat (limited to 'sys/dev/pci/if_wpi.c')
-rw-r--r--sys/dev/pci/if_wpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index c6fb316ff74..712b69fff9c 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.133 2016/04/13 10:34:32 mpi Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.134 2016/08/17 11:08:08 stsp Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -278,6 +278,8 @@ wpi_attach(struct device *parent, struct device *self, void *aux)
ic->ic_caps =
IEEE80211_C_WEP | /* WEP */
IEEE80211_C_RSN | /* WPA/RSN */
+ IEEE80211_C_SCANALL | /* device scans all channels at once */
+ IEEE80211_C_SCANALLBAND | /* driver scans all bands at once */
IEEE80211_C_MONITOR | /* monitor mode supported */
IEEE80211_C_SHSLOT | /* short slot time supported */
IEEE80211_C_SHPREAMBLE | /* short preamble supported */