cfg80211: improve warnings in VHT rate calculation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 May 2017 05:52:10 +0000 (07:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 17 May 2017 13:57:58 +0000 (15:57 +0200)
commitca8fe2506974ce090e2fd3b29ad7dd8c9532ca18
tree36749280d35cb07e3d57b9d2f2514e0ee45a374d
parent9ad098037db5a327f60f763dc094fc3d053c07a9
cfg80211: improve warnings in VHT rate calculation

Linus reported hitting the bandwidth warning, but it is indeed
pretty useless - improve it by printing the rate configuration
and make it only warn once, for both warnings here.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c