]> 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)
commitd2a5d3c50eb357305e13a3cb5d7c542de0ffdd50
tree618888d2146d2f970affae325394ca919a0172b3
parent343c88010f740c050d084e676f76a03f87af7f54
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