]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitef95d8ba384781ce574c10f87b97d6bab2659735
tree618888d2146d2f970affae325394ca919a0172b3
parent2ed77ea69205139c3f6016b250d34e09bf48574d
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