diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-11-06 13:37:34 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-03-06 15:31:29 +0300 |
commit | 7f813ce1bd103a28e2333bd97cc6782c8e2fc8a9 (patch) | |
tree | f5da521daa26a9d2780b8c6b269e480ced0c5bc0 /net/wireless/chan.c | |
parent | f8f118ceaa562d5b49252ecbfd7fe1f704f4e076 (diff) | |
download | linux-7f813ce1bd103a28e2333bd97cc6782c8e2fc8a9.tar.xz |
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/chan.c')
0 files changed, 0 insertions, 0 deletions