diff options
author | Javier Cardona <javier@cozybit.com> | 2010-12-07 13:37:56 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-08 15:23:46 -0500 |
commit | b93996cf67d47597efad03d5e5431c7b8b11e688 (patch) | |
tree | 7cfa114baa7064cb290a3a7ff2274ac93eeae950 /drivers/net | |
parent | c26d5339424e68f8643cf3448986c4f77b941a65 (diff) | |
download | kernel_samsung_tuna-b93996cf67d47597efad03d5e5431c7b8b11e688.zip kernel_samsung_tuna-b93996cf67d47597efad03d5e5431c7b8b11e688.tar.gz kernel_samsung_tuna-b93996cf67d47597efad03d5e5431c7b8b11e688.tar.bz2 |
ath5k: Put the right tsf value in mesh beacons
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 888502e..42ed923 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c @@ -1917,7 +1917,8 @@ ath5k_beacon_send(struct ath5k_softc *sc) sc->bmisscount = 0; } - if (sc->opmode == NL80211_IFTYPE_AP && sc->num_ap_vifs > 1) { + if ((sc->opmode == NL80211_IFTYPE_AP && sc->num_ap_vifs > 1) || + sc->opmode == NL80211_IFTYPE_MESH_POINT) { u64 tsf = ath5k_hw_get_tsf64(ah); u32 tsftu = TSF_TO_TU(tsf); int slot = ((tsftu % sc->bintval) * ATH_BCBUF) / sc->bintval; |