[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
This commit is contained in:
parent
6dc2f84316
commit
06d706238b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user