mac80211: fix rx_nss calculation for drivers with hw rc
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 2 Dec 2013 10:54:07 +0000 (11:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 2 Dec 2013 14:42:16 +0000 (15:42 +0100)
commitddcc347b70f298f9d624cd0e250581d831d915fb
treeb562736a73e2b416e725495d84d31f05491c3519
parent1f3b8a2bdeccac8abe6817b7b70cea90c93ed3e4
mac80211: fix rx_nss calculation for drivers with hw rc

Drivers with hardware rate control were given
sta->rx_nss set to 0. This was because rx_nss
calculation procedure was protected by hw/sw rate
control check.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rate.h