Skip to content
Commit 7f813ce1 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211_hwsim: report survey data for scanned channels



Currently, hwsim is reporting survey data (only a fake noise floor)
for the current channel. This breaks when the multi-channel support
is enabled since then there's no current channel.

Make the dummy implementation closer to a real one and only report
data while scanning, for all the scanned channels. At other times,
no survey data might be available (in real hardware) due to power-
save for example.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent f8f118ce
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