diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2012-12-19 18:53:02 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 12:01:37 (GMT) |
commit | 3ebfa6e76beab01e644e1facd5fdb84d4274043e (patch) | |
tree | 7324fb5171326d8ce0af3eb22c2d50a9f5531573 /drivers/video/sis/sis_accel.h | |
parent | ad2d223aa900179031feb40273881e212941573d (diff) | |
download | linux-fsl-qoriq-3ebfa6e76beab01e644e1facd5fdb84d4274043e.tar.xz |
cfg80211: do not process beacon hints if one is already queued
Regulatory beacon hints are used to help with world roaming
and as it is right now we learn from a beacon hint processed
on one wiphy to all other wiphys. The processing of beacon
hints however is scheduled and if we have a lot of interfaces
we may hit the case that we'll queue a the same beacon hint
many times until its processed.
To avoid this do a lookup on the queued up beacon hints prior
to adding a new beacon hint. If the beacon hint is removed
from the pending reg beacon hint list then it would be processed
and we'd ensure all wiphys would have learned from it, if its
on the pending reg beacon list we'd now find it prior to it
being processed.
Tested-by: Ben Greear <greearb@candelatech.com>
Reported-by: Ben Greear <greearb@candelatech.com>
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/video/sis/sis_accel.h')
0 files changed, 0 insertions, 0 deletions