diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-04-13 10:31:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:17:52 +0100 |
commit | 6335d2350f4273c5ed4ff82929958ebf8b635aa2 (patch) | |
tree | 8c849fd4a986937862e6b754685cf8646174c451 /drivers/net/wireless/ath | |
parent | b7ac7e479ae38810bc06fb662fe6e7e1ac7df3cf (diff) | |
download | linux-rt-6335d2350f4273c5ed4ff82929958ebf8b635aa2.tar.gz |
mac80211_hwsim: use per-interface power level
[ Upstream commit 1d5e9f80ab021e3e1f9436627a4ad07a143ccb2c ]
When channel contexts are used, there's no global power level
(the power_level is always 0). Use the per-interface TX power
in mac80211_hwsim to have a proper setting for both cases.
This fixes the bgscan_simple and bgscan_learn test cases when
the number of channels advertised by hwsim is >1 by default.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/ath')
0 files changed, 0 insertions, 0 deletions