提交 58bd7f11 编写于 作者: J Johannes Berg

mac80211: fix scan completed tracing

Passing the 'info' pointer where a 'info->aborted' is expected will
always lead to tracing to erroneously record that the scan was aborted,
fix that by passing the correct info->aborted. The remaining data will
be collected in cfg80211, so I haven't duplicated it here.
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 93db1d9e
...@@ -420,7 +420,7 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw, ...@@ -420,7 +420,7 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw,
{ {
struct ieee80211_local *local = hw_to_local(hw); struct ieee80211_local *local = hw_to_local(hw);
trace_api_scan_completed(local, info); trace_api_scan_completed(local, info->aborted);
set_bit(SCAN_COMPLETED, &local->scanning); set_bit(SCAN_COMPLETED, &local->scanning);
if (info->aborted) if (info->aborted)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册