commit | 63ded3f059f5c906fdef4b7f0663fb39c4d96c8e | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Thu Dec 19 18:01:50 2013 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Dec 19 14:41:56 2013 -0500 |
tree | ebeebc78a32e8e2511aa64a05ed20c7b22ead201 | |
parent | c32e4e518f6642372c57ac9edbfb8274fa20c5e4 [diff] |
ath9k: fix TSF offset precision issue Dividing the beacon interval by ATH_BCBUF (8) truncates the result for the default beacon interval of 100. Fix the calculation by moving the division after conversion from TU to microseconds. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>