From: Tarun Karela Date: Wed, 30 May 2018 16:39:36 +0000 (+0100) Subject: [9610] wlbt: Fix compilation error to do with ReqId (Android P) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9bb615d9a21bac9c33ded5b80fee22f7c94e710;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] wlbt: Fix compilation error to do with ReqId (Android P) drivers/net/wireless/scsc/mgt.c: In function 'slsi_scan_cleanup': drivers/net/wireless/scsc/mgt.c:630:4: error: too few arguments to function 'cfg80211_sched_scan_stopped' cfg80211_sched_scan_stopped(sdev->wiphy); Change-Id: Ic667545ab30185989da8b11a773e58d26a1ae01a SCSC-Bug-Id: SSB-40175 Signed-off-by: Tarun Karela --- diff --git a/drivers/net/wireless/scsc/mgt.c b/drivers/net/wireless/scsc/mgt.c index 652543e8dfa3..48b523eb952e 100755 --- a/drivers/net/wireless/scsc/mgt.c +++ b/drivers/net/wireless/scsc/mgt.c @@ -627,7 +627,7 @@ void slsi_scan_cleanup(struct slsi_dev *sdev, struct net_device *dev) #endif if (ndev_vif->scan[i].sched_req && i == SLSI_SCAN_SCHED_ID) - cfg80211_sched_scan_stopped(sdev->wiphy); + cfg80211_sched_scan_stopped(sdev->wiphy, 0); ndev_vif->scan[i].scan_req = NULL; ndev_vif->scan[i].sched_req = NULL;