[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:
Adrian Chadd 2016-10-28 02:09:45 +00:00
parent 0656bb22c0
commit 020fe0de15
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308007

View File

@ -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__);
}