]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita62c0894de4e1c1548bc3044710b473a5cd631a8
tree7b039a2912f331ff7ea55326d30995b9bfdab60e
parent3f064f232039c2ba0a356c6241e201115cec1392
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