From: Helmut Schaa Date: Wed, 1 Dec 2010 15:34:45 +0000 (+0100) Subject: mac80211: Update last_tx_rate only for data frames X-Git-Tag: v2.6.38-rc1~476^2~169^2^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1ce5a74d113f221d40625bd3ad83df2db2695b7;p=pandora-kernel.git mac80211: Update last_tx_rate only for data frames The last_tx_rate field was also updated for non-data frames that are often sent with a lower rate (for example management frames at 1 Mbps). This is confusing when the data rate is actually much higher. Hence, only update the last_tx_rate field with tx rate information gathered from last data frames. If the rate control algorithm filled in txrc.reported_rate we don't need to verify this information. Cc: Johannes Berg Signed-off-by: Helmut Schaa Signed-off-by: John W. Linville --- Reading git-diff-tree failed