From e0847ba99e1f585ff38d5ce7a80a71d0951c16e7 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 1 Mar 2018 12:34:50 -0800 Subject: [PATCH] qcacld-3.0: Add missing blank lines after declarations in HDD The checkpatch script has identified instances of "Missing a blank line after declarations" in HDD, so add them. Change-Id: I289072b26e0c9c1f8392616438e304b018d9ecd2 CRs-Fixed: 2198555 --- core/hdd/src/wlan_hdd_assoc.c | 1 + core/hdd/src/wlan_hdd_cfg80211.c | 1 + core/hdd/src/wlan_hdd_main.c | 1 + core/hdd/src/wlan_hdd_scan.c | 1 + 4 files changed, 4 insertions(+) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index c86e694ec727..3812d00e16ba 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -3131,6 +3131,7 @@ hdd_association_completion_handler(struct hdd_adapter *adapter, #endif } else { bool connect_timeout = false; + if (roam_info && roam_info->is_fils_connection && eCSR_ROAM_RESULT_SCAN_FOR_SSID_FAILURE == roamResult) qdf_copy_macaddr(&roam_info->bssid, diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index cd8dfa3e3cf5..33347822b4a3 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -14179,6 +14179,7 @@ int wlan_hdd_cfg80211_update_band(struct hdd_context *hdd_ctx, struct wiphy *wip static void wlan_hdd_cfg80211_scan_randomization_init(struct wiphy *wiphy) { struct hdd_context *hdd_ctx; + hdd_ctx = wiphy_priv(wiphy); if (false == hdd_ctx->config->enable_mac_spoofing) { diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index c029c28695b2..8047684c510a 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -10848,6 +10848,7 @@ void hdd_softap_sta_disassoc(struct hdd_adapter *adapter, { struct sir_peer_sta_info peer_sta_info; struct hdd_station_info *stainfo; + ENTER(); /* Ignore request to disassoc bcmc station */ diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c index cc2d7095f0e8..483e9bacad52 100644 --- a/core/hdd/src/wlan_hdd_scan.c +++ b/core/hdd/src/wlan_hdd_scan.c @@ -1007,6 +1007,7 @@ static int __wlan_hdd_cfg80211_vendor_scan(struct wiphy *wiphy, count = 0; if (tb[QCA_WLAN_VENDOR_ATTR_SCAN_SSIDS]) { int ssid_length; + nla_for_each_nested(attr, tb[QCA_WLAN_VENDOR_ATTR_SCAN_SSIDS], tmp) { ssid_length = nla_len(attr);