mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
[net80211] don't abort a background scan upon reception of a single packet.
Full offload drivers don't need this behaviour - they do it in firmware.
This commit is contained in:
parent
0656bb22c0
commit
020fe0de15
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308007
@ -467,6 +467,11 @@ ieee80211_swscan_cancel_scan(struct ieee80211vap *vap)
|
||||
static void
|
||||
ieee80211_swscan_cancel_anyscan(struct ieee80211vap *vap)
|
||||
{
|
||||
|
||||
/* XXX for now - just don't do this per packet. */
|
||||
if (vap->iv_flags_ext & IEEE80211_FEXT_SCAN_OFFLOAD)
|
||||
return;
|
||||
|
||||
cancel_scan(vap, 1, __func__);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user