From: Chun-Yeow Yeoh Date: Wed, 2 Apr 2014 04:05:09 +0000 (+0800) Subject: mac80211: update last_tx_rate only for data frame X-Git-Tag: omap-for-v3.16/pm-signed~76^2~1^2^2~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a9a6d1e2f18c193d28409bfafc890d78adef68;p=pandora-kernel.git mac80211: update last_tx_rate only for data frame Rate controller in firmware may also return the Tx Rate used for management frame that is usually sent as lowest Tx Rate (1Mbps in 2.4GHz). So update the last_tx_rate only if it is data frame. This patch is tested with ath9k_htc. Signed-off-by: Chun-Yeow Yeoh Signed-off-by: Johannes Berg --- Reading git-diff-tree failed