1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-08-16 08:34:15 +02:00

Ensure compilation under 4.8-rc1 - fixes #142 (#143)

This commit is contained in:
Fjodor42 2016-09-09 18:36:54 +02:00 committed by Harshavardhana
parent c33ddb05a7
commit 09a1e212b6

View File

@ -1700,7 +1700,13 @@ void rtw_cfg80211_indicate_scan_done(struct rtw_wdev_priv *pwdev_priv, bool abor
}
else
{
cfg80211_scan_done(pwdev_priv->scan_request, aborted);
if (aborted) {
struct cfg80211_scan_info info = {
.aborted = aborted,
};
cfg80211_scan_done(pwdev_priv->scan_request, &info);
}
}
pwdev_priv->scan_request = NULL;