[9610] wlbt: Get around compilation error by using dummy value (Android P)
authorTarun Karela <t.karela@samsung.com>
Wed, 30 May 2018 13:21:23 +0000 (14:21 +0100)
committerYoungsoo Kim <youngss.kim@samsung.com>
Fri, 15 Jun 2018 22:48:35 +0000 (07:48 +0900)
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 <t.karela@samsung.com>
drivers/net/wireless/scsc/cfg80211_ops.c

index 4923160bf740c074cad5321680f0364a5d2dcfe7..405262169f6b6a3cb455aa544d5d40aec85aae7d 100755 (executable)
@@ -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);