]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: further improve "no supported rates" warning
authorJohannes Berg <johannes.berg@intel.com>
Sun, 25 Oct 2015 08:59:42 +0000 (10:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Nov 2015 09:56:42 +0000 (10:56 +0100)
commit9689694d4cd0dd7f0b641bc47d9b6be24af11d6a
tree618888d2146d2f970affae325394ca919a0172b3
parent489193cfc8b2e17051967a0186e062bd97027e12
mac80211: further improve "no supported rates" warning

Allow distinguishing the non-station case from the case of a
station without rates, by using -1 for the non-station case.
This value cannot be reached with a station since that many
legacy rates don't exist.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rate.c