From bedd030d0df0b8f7b1dba7dbc1742cb54c6d0624 Mon Sep 17 00:00:00 2001 From: Tarun Karela Date: Wed, 30 May 2018 14:21:23 +0100 Subject: [PATCH] [9610] wlbt: Get around compilation error by using dummy value (Android P) This needs proper fix as reqId is new parameter, presumably used to track each scan request drivers/net/wireless/scsc/cfg80211_ops.c: In function 'slsi_sched_scan_start': drivers/net/wireless/scsc/cfg80211_ops.c:639:4: error: too few arguments to function 'cfg80211_sched_scan_stopped' cfg80211_sched_scan_stopped(wiphy); ^ In file included from drivers/net/wireless/scsc/cfg80211_ops.c:8:0: ./include/net/cfg80211.h:4623:6: note: declared here void cfg80211_sched_scan_stopped(struct wiphy *wiphy, u64 reqid); Change-Id: I81174d7de5aa9825e538dca2923c29fd01eebcd6 SCSC-Bug-Id: SSB-40175 Signed-off-by: Tarun Karela --- drivers/net/wireless/scsc/cfg80211_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/scsc/cfg80211_ops.c b/drivers/net/wireless/scsc/cfg80211_ops.c index 4923160bf740..405262169f6b 100755 --- a/drivers/net/wireless/scsc/cfg80211_ops.c +++ b/drivers/net/wireless/scsc/cfg80211_ops.c @@ -636,7 +636,7 @@ int slsi_sched_scan_start(struct wiphy *wiphy, if (r != 0) { if (r > 0) { SLSI_NET_DBG2(dev, SLSI_CFG80211, "Nothing to be done\n"); - cfg80211_sched_scan_stopped(wiphy); + cfg80211_sched_scan_stopped(wiphy, 0); r = 0; } else { SLSI_NET_DBG2(dev, SLSI_CFG80211, "add_scan error: %d\n", r); -- 2.20.1