diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-04-13 10:31:16 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-04-13 13:41:40 +0200 |
commit | 1d5e9f80ab021e3e1f9436627a4ad07a143ccb2c (patch) | |
tree | fc2290c4243050c2f30f7beaa72dc36cb67c61eb /net/wireless/scan.c | |
parent | 65f1d6007e999f3a3dda1ba5f264447529247697 (diff) |
mac80211_hwsim: use per-interface power level
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>
Diffstat (limited to 'net/wireless/scan.c')
0 files changed, 0 insertions, 0 deletions