diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2011-05-08 11:01:53 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2011-05-08 11:01:53 +0000 |
commit | e4f441b16cc22c964ef375d4465d3b433e80cbab (patch) | |
tree | cd508707a8d28f3c1dbd5593f27e80637504f889 | |
parent | b442b21ba06ec305252f6e01fa8a74eb3befc1e7 (diff) | |
download | FreeBSD-src-e4f441b16cc22c964ef375d4465d3b433e80cbab.zip FreeBSD-src-e4f441b16cc22c964ef375d4465d3b433e80cbab.tar.gz |
Disable background scan support for 4965 adapters.
On legacy channels every once in a while the firmware throws a SYSASSERT
on line 208. On HT channels though this does always happen and I'm not
aware of any workaround currently.
-rw-r--r-- | sys/dev/iwn/if_iwn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 30fc37c..bf37774 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -584,12 +584,14 @@ iwn_attach(device_t dev) | IEEE80211_C_SHSLOT /* short slot time supported */ | IEEE80211_C_WPA | IEEE80211_C_SHPREAMBLE /* short preamble supported */ - | IEEE80211_C_BGSCAN /* background scanning */ #if 0 | IEEE80211_C_IBSS /* ibss/adhoc mode */ #endif | IEEE80211_C_WME /* WME */ ; + if (sc->hw_type != IWN_HW_REV_TYPE_4965) + ic->ic_caps |= IEEE80211_C_BGSCAN; /* background scanning */ + #if 0 /* HT */ /* XXX disable until HT channel setup works */ ic->ic_htcaps = |