svn commit: r308185 - head/sys/dev/iwm
Imre Vadász
ivadasz at FreeBSD.org
Tue Nov 1 22:48:00 UTC 2016
Author: ivadasz
Date: Tue Nov 1 22:47:58 2016
New Revision: 308185
URL: https://svnweb.freebsd.org/changeset/base/308185
Log:
[iwm] Set full-offload scan flag. Fixes fw panic when already associated.
* Starting a scan from wpa_supplicant or via ifconfig while associated,
should no longer cause firmware panics or abort early.
Tested:
* AC7260, STA mode
Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D8412
Modified:
head/sys/dev/iwm/if_iwm.c
Modified: head/sys/dev/iwm/if_iwm.c
==============================================================================
--- head/sys/dev/iwm/if_iwm.c Tue Nov 1 22:40:25 2016 (r308184)
+++ head/sys/dev/iwm/if_iwm.c Tue Nov 1 22:47:58 2016 (r308185)
@@ -5879,6 +5879,8 @@ iwm_attach(device_t dev)
IEEE80211_C_SHPREAMBLE /* short preamble supported */
// IEEE80211_C_BGSCAN /* capable of bg scanning */
;
+ /* Advertise full-offload scanning */
+ ic->ic_flags_ext = IEEE80211_FEXT_SCAN_OFFLOAD;
for (i = 0; i < nitems(sc->sc_phyctxt); i++) {
sc->sc_phyctxt[i].id = i;
sc->sc_phyctxt[i].color = 0;
More information about the svn-src-all
mailing list