[9610] wlbt: Fix/mask out compilation erros in cfg80211_ops.c (Android P)
authorTarun Karela <t.karela@samsung.com>
Wed, 30 May 2018 13:54:15 +0000 (14:54 +0100)
committerYoungsoo Kim <youngss.kim@samsung.com>
Fri, 15 Jun 2018 22:48:41 +0000 (07:48 +0900)
commit1601676e8fce5d5fc60ec41cbc727c7be0503e97
treebc11b9ec8092d73d3a2b3f48e57941674864eb90
parentbedd030d0df0b8f7b1dba7dbc1742cb54c6d0624
[9610] wlbt: Fix/mask out compilation erros in cfg80211_ops.c (Android P)

drivers/net/wireless/scsc/cfg80211_ops.c: In function 'slsi_add_virtual_intf':
drivers/net/wireless/scsc/cfg80211_ops.c:62:10: error: 'flags' undeclared (first use in this function)
  SLSI_UNUSED_PARAMETER(flags);
          ^
drivers/net/wireless/scsc/cfg80211_ops.c:62:10: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/wireless/scsc/cfg80211_ops.c: At top level:
drivers/net/wireless/scsc/cfg80211_ops.c:2784:2: warning: initialization from incompatible pointer type
  .change_virtual_intf = slsi_change_virtual_intf,
  ^
drivers/net/wireless/scsc/cfg80211_ops.c:2784:2: warning: (near initialization for 'slsi_ops.change_virtual_intf')
drivers/net/wireless/scsc/cfg80211_ops.c:2824:2: warning: initialization from incompatible pointer type
  .sched_scan_stop = slsi_sched_scan_stop,
  ^
drivers/net/wireless/scsc/cfg80211_ops.c:2824:2: warning: (near initialization for 'slsi_ops.sched_scan_stop')
drivers/net/wireless/scsc/cfg80211_ops.c: In function 'slsi_cfg80211_new':
drivers/net/wireless/scsc/cfg80211_ops.c:3186:18: error: 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' undeclared (first use in this function)
  wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
                  ^
scripts/Makefile.build:328: recipe for target 'drivers/net/wireless/scsc/cfg80211_ops.o' failed
make[4]: *** [drivers/net/wireless/scsc/cfg80211_ops.o] Error 1
make[4]: *** Waiting for unfinished jobs....

Change-Id: Ice77ca9fde1d7f6fae5c8b2081f7c0c6c55ca287
SCSC-Bug-Id: SSB-40175
Signed-off-by: Tarun Karela <t.karela@samsung.com>
drivers/net/wireless/scsc/cfg80211_ops.c