Skip to content

Commit

Permalink
mac80211: fix delayed ADDBA response
Browse files Browse the repository at this point in the history
Block frame processing during scan might delay the
ADDBA response, which eventually timeouts and
significantly reduces the device throughput.
Remove this constrain as it's not required for the
HW scan.

Signed-off-by: Victor Goldenshtein <victorg@ti.com>
  • Loading branch information
victorgld authored and elp committed Feb 10, 2014
1 parent 8fc40de commit b2b2ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/iface.c
Expand Up @@ -1125,7 +1125,7 @@ static void ieee80211_iface_work(struct work_struct *work)
if (!ieee80211_sdata_running(sdata))
return;

if (local->scanning)
if (local->scanning && !local->ops->hw_scan)
return;

/*
Expand Down

0 comments on commit b2b2ea4

Please sign in to comment.