commit | 00a9a6d1e2f18c193d28409bfafc890d78adef68 | [log] [tgz] |
---|---|---|
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | Wed Apr 02 12:05:09 2014 +0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Apr 09 10:50:45 2014 +0200 |
tree | c0fe48ea8245379a5e7d79b70b82d7ac16fe1153 | |
parent | 9b4816f543ee8d48bb49151718edac480d2080b1 [diff] |
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 <yeohchunyeow@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>