ath5k: fix short preamble rate duration value
authorFelix Fietkau <nbd@openwrt.org>
Sat, 9 Apr 2011 21:10:19 +0000 (23:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:59:02 +0000 (16:59 -0400)
commita27049e2c926bcf68360532a5ae66e408296ae85
tree7b039a2912f331ff7ea55326d30995b9bfdab60e
parent6d7b97b23e114c8fbb825e6721164d228c1af3fc
ath5k: fix short preamble rate duration value

Subtract the difference in preamble duration (in usec) from the value
returned by ieee80211_generic_frame_duration.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/pcu.c
drivers/net/wireless/ath/ath5k/qcu.c