]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mac80211: Notify the driver only when the beacon interval changes
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 27 Feb 2009 04:14:00 +0000 (09:44 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:32 +0000 (14:39 -0500)
commite31ae0508315ebf5d8b1b8a1fca8550737fb3996
treefe4c453d40df43ac2544ab9ec107403ccd9bbcca
parentdb5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870
mac80211: Notify the driver only when the beacon interval changes

Currently, the driver is unconditionally notified of beacon
interval. This is a problem in AP mode, because the driver has
to know that the beacon interval has actualy changed to recalculate
TBTT and reset the HW TSF. Fix this to make mac80211 notify the driver
only when the beacon interval has been reconfigured to a new value.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c