From: Ben Greear Date: Thu, 23 Mar 2017 23:26:16 +0000 (-0700) Subject: mac80211-hwsim: remove dmesg spam about get-survey. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=667a2e6bfeafa7ce202c22c702fea30ca7741c21;p=openwrt%2Fstaging%2Fblogic.git mac80211-hwsim: remove dmesg spam about get-survey. This message just fills up dmesg and/or kernel logs and does not provide any useful information. Signed-off-by: Ben Greear Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 67fc91dfcecd..4e58513d24e8 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -1823,8 +1823,6 @@ static int mac80211_hwsim_get_survey(struct ieee80211_hw *hw, int idx, { struct mac80211_hwsim_data *hwsim = hw->priv; - wiphy_debug(hw->wiphy, "%s (idx=%d)\n", __func__, idx); - if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) return -ENOENT;