]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rt2x00: Fix TX short preamble detection
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 4 Jan 2009 16:33:25 +0000 (17:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:50 +0000 (14:24 -0500)
commit3ea96463156123cbfd09ac412012a87fef068830
tree5396df59c18f39fa42472671eeaac1cbff486a32
parent3be36ae223271f9c2cfbe7406846c8fdcd2f50c3
rt2x00: Fix TX short preamble detection

The short preamble mode was not correctly detected during TX,
rt2x00 used the rate->hw_value_short field but mac80211 is not
using this field that way.
Instead the flag IEEE80211_TX_RC_USE_SHORT_PREAMBLE should be
used to determine if the frame should be send out using
short preamble or not.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00queue.c