mac80211_hwsim: fix beacon timing
authorThomas Pedersen <thomas@cozybit.com>
Wed, 2 Jan 2013 22:55:18 +0000 (14:55 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Jan 2013 13:01:55 +0000 (14:01 +0100)
A beacon period starts at TSF time 0. Spoof this by
rounding the starting beacon time to a multiple of the
beacon interval, and keep TBTT aligned on TSF adjustment.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found