summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2017-03-24 02:26:16 +0300
committerJohannes Berg <johannes.berg@intel.com>2017-03-29 11:45:07 +0300
commit667a2e6bfeafa7ce202c22c702fea30ca7741c21 (patch)
tree1f8b6dc459f117911c5698aab8a3215767fbd7ac
parented92a9b5d4aaea4a4346db3ab520e8a631f734fd (diff)
downloadlinux-667a2e6bfeafa7ce202c22c702fea30ca7741c21.tar.xz
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 <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c2
1 files changed, 0 insertions, 2 deletions
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;