diff options
| author | Zhao, Gang <[email protected]> | 2014-03-19 23:02:21 +0800 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2014-04-09 10:55:31 +0200 |
| commit | babd3a272123da5b9bc1da943fad74c581a9df6c (patch) | |
| tree | 0f6538bfd12b83f95dccdd3f11c7005856f42302 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 0c2bef4621c5feb5bda9068c9964b2e9acf57017 (diff) | |
cfg80211: slightly clean up of cfg80211_sme_connect()
Wdev->ssid_len has already been set in cfg80211_connect() and is equal
to connect->ssid_len. Use wdev->ssid_len instead of connect->ssid_len
so it will be consistent with previous ssid assignment statement.
If bss is found in cfg80211_get_conn_bss(), wdev->conn->state is set
to CFG80211_CONN_AUTHENTICATE_NEXT in there. So it's not needed to set
it manually to CFG80211_CONN_AUTHENTICATE_NEXT if bss is found in that
function.
Signed-off-by: Zhao, Gang <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions