summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-11-13 16:09:53 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-11-13 16:09:53 +0100
commit0316046d152a1817bd0b4faff8e34c212a936a5e (patch)
treeb92ccfeec7cfca88d53717c70fa917f41c4a8741
parent4e7794d70a3479283245fe5f1b06a3c0377137bd (diff)
net: wireless: cfg80211: delete sched_scan error message
Do not print an error. This is no error in our use-case so just delete this error message that confuses users. As we now move back to full loglevel this is the only way to get rid of that message. fixes: d182137f18f24de3bc4b45c5a3d52e2f8f96a093 net: wireless: cfg80211: decrease importance of sched_scan message Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r--drivers/net/wireless/marvell/mwifiex/cfg80211.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index cc838a59a0f7..f691288d2a29 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -2676,11 +2676,8 @@ mwifiex_cfg80211_sched_scan_start(struct wiphy *wiphy,
struct mwifiex_bg_scan_cfg *bgscan_cfg;
struct ieee_types_header *ie;
- if (!request || (!request->n_ssids && !request->n_match_sets)) {
- wiphy_notice(wiphy, "%s : Invalid Sched_scan parameters",
- __func__);
+ if (!request || (!request->n_ssids && !request->n_match_sets))
return -EINVAL;
- }
wiphy_info(wiphy, "sched_scan start : n_ssids=%d n_match_sets=%d ",
request->n_ssids, request->n_match_sets);