]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mac80211-hwsim: remove dmesg spam about get-survey.
authorBen Greear <greearb@candelatech.com>
Thu, 23 Mar 2017 23:26:16 +0000 (16:26 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 Mar 2017 08:45:07 +0000 (10:45 +0200)
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>
drivers/net/wireless/mac80211_hwsim.c

index 67fc91dfcecdad58ce1924fea1ffd326bb46aa4e..4e58513d24e899d98b5e63622ea12003846850fe 100644 (file)
@@ -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;