cfg80211: improve warnings in VHT rate calculation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 May 2017 05:52:10 +0000 (07:52 +0200)
committerShenwei Wang <shenwei.wang@nxp.com>
Thu, 19 Apr 2018 16:16:50 +0000 (11:16 -0500)
commitd195bc15aa9404a2d014c4cd25c80bcd5086536a
treedd177f90efc555880a79fac7eb0cc7a5464d782f
parent25fbe1eba777a1f93ccb045037194166cdfdecc0
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