commit | c9234a662e38309d6fe272ad80e6cdb8d24654f0 | [log] [tgz] |
---|---|---|
author | Bob Copeland <me@bobcopeland.com> | Mon Jan 24 23:31:44 2011 -0500 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jan 27 16:41:07 2011 -0500 |
tree | 96dde912b61cd33138516cc8bb4f463bc774250d | |
parent | 15411c27d203e363592d30ab00803254ebe77b90 [diff] |
ath5k: correct endianness of frame duration The ath5k version of ieee80211_generic_frame_duration() returns an __le16 for standard modes but a cpu-endian int for turbo/half/ quarter rates. Make it always return cpu-endian values. Signed-off-by: Bob Copeland <me@bobcopeland.com> Acked-by: Bruno Randolf <br1@einfach.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>