From: stsp Date: Wed, 17 Aug 2016 09:43:27 +0000 (+0000) Subject: iwn(4) scans all bands at once, as far as the net80211 stack is concerned. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=55f70aaf8c7b45dafb6b627b98351bdb2c0ce95e;p=openbsd iwn(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@ --- diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index 9cf50851705..fa2a0733bcf 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.169 2016/07/20 16:24:37 stsp Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.170 2016/08/17 09:43:27 stsp Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini @@ -450,6 +450,8 @@ iwn_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 */