qcacmn: Fix spectral scan compilation errors

Fix spectral scan component compilation errors
on MCL build system.

Change-Id: I903431fba923859e796e0786354608cac2841b0c
CRs-Fixed: 2160819
This commit is contained in:
Sandeep Puligilla
2017-12-14 21:08:42 -08:00
committed by snandini
parent 9403463db3
commit 4fe1d4b0ee
13 changed files with 464 additions and 58 deletions

View File

@@ -296,7 +296,7 @@ int wlan_cfg80211_spectral_scan_config_and_start(struct wiphy *wiphy,
uint64_t cookie;
struct sk_buff *skb;
uint32_t spectral_dbg_level;
uint32_t scan_req_type;
uint32_t scan_req_type = 0;
if (wlan_cfg80211_nla_parse(
tb,
@@ -636,7 +636,7 @@ int wlan_cfg80211_spectral_scan_get_status(struct wiphy *wiphy,
const void *data,
int data_len)
{
struct spectral_scan_state sscan_state;
struct spectral_scan_state sscan_state = { 0 };
struct sk_buff *skb;
skb = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, 2 * sizeof(u32) +