diff options
author | Maxim Altshul <[email protected]> | 2016-08-11 13:38:16 +0300 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2016-08-11 20:00:37 +0200 |
commit | 4fdbc67a25ce577b79b3af595e874e9ef921329f (patch) | |
tree | ac0650b0e51223b96cbfead2ff2f0af654889b37 /tools/perf/scripts/python/stat-cpi.py | |
parent | 12d20fc9186a742d40e824f575df5aa62be31d69 (diff) |
mac80211: call get_expected_throughput only after adding station
Depending on which method the driver implements, userspace could
call this (indirectly, by getting station info) before the driver
knows about the station, possibly causing it to misbehave.
Therefore, add a check for sta->uploaded which indicates that the
driver knows about the station.
Signed-off-by: Maxim Altshul <[email protected]>
[reword commit message]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions