Commit cbc668a7 authored by Johannes Berg's avatar Johannes Berg

mac80211_hwsim: print per interface TX power

Just for debugging, print the interface TX
power whenever it changes.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 1ea6f9c0
......@@ -1083,6 +1083,9 @@ static void mac80211_hwsim_bss_info_changed(struct ieee80211_hw *hw,
wiphy_debug(hw->wiphy, " BASIC_RATES: 0x%llx\n",
(unsigned long long) info->basic_rates);
}
if (changed & BSS_CHANGED_TXPOWER)
wiphy_debug(hw->wiphy, " TX Power: %d dBm\n", info->txpower);
}
static int mac80211_hwsim_sta_add(struct ieee80211_hw *hw,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment