svn commit: r221640 - head/sys/dev/iwn
Bernhard Schmidt
bschmidt at FreeBSD.org
Sun May 8 11:01:53 UTC 2011
Author: bschmidt
Date: Sun May 8 11:01:53 2011
New Revision: 221640
URL: http://svn.freebsd.org/changeset/base/221640
Log:
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.
Modified:
head/sys/dev/iwn/if_iwn.c
Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c Sun May 8 10:57:44 2011 (r221639)
+++ head/sys/dev/iwn/if_iwn.c Sun May 8 11:01:53 2011 (r221640)
@@ -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 =
More information about the svn-src-head
mailing list