iwlwifi: clear rate control flags on non-HT packet
authorDaniel C Halperin <daniel.c.halperin@intel.com>
Fri, 21 Aug 2009 20:34:20 +0000 (13:34 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:38 +0000 (14:40 -0400)
commit7ebaeff8ae0ba14c086b117f451c5b40bea8a64b
treedee11960a479b257f43ae3004b456e3f0fd0b4af
parentf204b2487e5503ca4a9f3e69dcd63f6af979aaac
iwlwifi: clear rate control flags on non-HT packet

Clear the flags (most importantly, the IEEE80211_TX_RC_MCS flag)
when sending a non-HT packet so that the rate index can be properly treated.
This fixes the reporting of legacy rates in wireless-extensions for packets
sent after an HT packet.

Signed-off-by: Daniel C Halperin <daniel.c.halperin@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c