• Bruno Randolf's avatar
    ath5k: better beacon timer calculation · 9804b98d
    Bruno Randolf authored
    
    
    update ath5k_beacon_update_timers() for better beacon timer calculation in a
    variety of situations. most important is the possibility to call it with the
    timestamp of a received beacon, when we detected that a HW merge has happened
    and we need to reconfigure the beacon timers based on that.
    
    we call this from the mac80211 callback reset_tsf now instead of beacon_update,
    and there will be more use of it in the next patch.
    
    drivers/net/wireless/ath5k/base.c:      Changes-licensed-under: 3-Clause-BSD
    Signed-off-by: default avatarBruno Randolf <bruno@thinktube.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    9804b98d