From: Ivo van Doorn Date: Sun, 18 Jan 2009 19:15:24 +0000 (+0100) Subject: rt2x00: Fix TX rate short preamble detection X-Git-Tag: v2.6.29-rc3~23^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7490889c105764d80af58dee5983d91a84e4aec8;p=pandora-kernel.git rt2x00: Fix TX rate short preamble detection Mac80211 provides 2 structures to handle bitrates, namely ieee80211_rate and ieee80211_tx_rate. To determine the short preamble mode for an outgoing frame, the flag IEEE80211_TX_RC_USE_SHORT_PREAMBLE must be checked on ieee80211_tx_rate and not ieee80211_rate (which rt2x00 did). This fixes a regression which was triggered in 2.6.29-rcX as reported by Chris Clayton. Signed-off-by: Ivo van Doorn Tested-By: Chris Clayton Signed-off-by: John W. Linville --- Reading git-diff-tree failed