summaryrefslogtreecommitdiffstats
path: root/net/netlabel/netlabel_unlabeled.c
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2019-07-17 18:57:12 -0700
committerJohannes Berg <johannes.berg@intel.com>2019-07-20 21:40:32 +0200
commitd2b3fe42bc629c2d4002f652b3abdfb2e72991c7 (patch)
treec8f52b6d96c2771f4d6827fe9a85cfefeeac8ed1 /net/netlabel/netlabel_unlabeled.c
parentbcc27fab8cc673ddc95452674373cce618ccb3a3 (diff)
downloadlinux-d2b3fe42bc629c2d4002f652b3abdfb2e72991c7.tar.bz2
mac80211: don't warn about CW params when not using them
ieee80211_set_wmm_default() normally sets up the initial CW min/max for each queue, except that it skips doing this if the driver doesn't support ->conf_tx. We still end up calling drv_conf_tx() in some cases (e.g., ieee80211_reconfig()), which also still won't do anything useful...except it complains here about the invalid CW parameters. Let's just skip the WARN if we weren't going to do anything useful with the parameters. Signed-off-by: Brian Norris <briannorris@chromium.org> Link: https://lore.kernel.org/r/20190718015712.197499-1-briannorris@chromium.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/netlabel/netlabel_unlabeled.c')
0 files changed, 0 insertions, 0 deletions