|
@@ -189,8 +189,6 @@ wlan_hdd_cfg80211_extscan_get_capabilities_rsp(void *ctx,
|
|
|
context->capability_response = *data;
|
|
|
complete(&context->response_event);
|
|
|
spin_unlock(&context->context_lock);
|
|
|
-
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -429,6 +427,7 @@ wlan_hdd_cfg80211_extscan_cached_results_ind(void *ctx,
|
|
|
|
|
|
if (data->num_scan_ids) {
|
|
|
struct nlattr *nla_results;
|
|
|
+
|
|
|
result = &data->result[0];
|
|
|
|
|
|
if (nla_put_u32(skb,
|
|
@@ -502,8 +501,6 @@ fail:
|
|
|
spin_lock(&context->context_lock);
|
|
|
context->response_status = -EINVAL;
|
|
|
spin_unlock(&context->context_lock);
|
|
|
-
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -638,7 +635,6 @@ wlan_hdd_cfg80211_extscan_hotlist_match_ind(void *ctx,
|
|
|
|
|
|
fail:
|
|
|
kfree_skb(skb);
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -906,7 +902,6 @@ wlan_hdd_cfg80211_extscan_full_scan_result_event(void *ctx,
|
|
|
|
|
|
nla_put_failure:
|
|
|
kfree_skb(skb);
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -967,7 +962,6 @@ wlan_hdd_cfg80211_extscan_scan_res_available_event(
|
|
|
|
|
|
nla_put_failure:
|
|
|
kfree_skb(skb);
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -1044,7 +1038,6 @@ wlan_hdd_cfg80211_extscan_scan_progress_event(void *ctx,
|
|
|
|
|
|
nla_put_failure:
|
|
|
kfree_skb(skb);
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -1141,6 +1134,7 @@ wlan_hdd_cfg80211_extscan_epno_match_found(void *ctx,
|
|
|
|
|
|
if (data->num_results) {
|
|
|
struct nlattr *nla_aps;
|
|
|
+
|
|
|
nla_aps = nla_nest_start(skb,
|
|
|
QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_LIST);
|
|
|
if (!nla_aps)
|
|
@@ -1158,7 +1152,6 @@ wlan_hdd_cfg80211_extscan_epno_match_found(void *ctx,
|
|
|
|
|
|
fail:
|
|
|
kfree_skb(skb);
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -1290,7 +1283,6 @@ wlan_hdd_cfg80211_passpoint_match_found(void *ctx,
|
|
|
|
|
|
fail:
|
|
|
kfree_skb(skb);
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -1331,8 +1323,6 @@ wlan_hdd_cfg80211_extscan_generic_rsp
|
|
|
complete(&context->response_event);
|
|
|
}
|
|
|
spin_unlock(&context->context_lock);
|
|
|
-
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -1358,7 +1348,8 @@ void wlan_hdd_cfg80211_extscan_callback(void *ctx, const uint16_t evType,
|
|
|
switch (evType) {
|
|
|
case eSIR_EXTSCAN_CACHED_RESULTS_RSP:
|
|
|
/* There is no need to send this response to upper layer
|
|
|
- Just log the message */
|
|
|
+ * Just log the message
|
|
|
+ */
|
|
|
hdd_debug("Rcvd eSIR_EXTSCAN_CACHED_RESULTS_RSP");
|
|
|
break;
|
|
|
|
|
@@ -2081,7 +2072,7 @@ int wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * __wlan_hdd_cfg80211_extscan_set_significant_change () - set significant change
|
|
|
+ * __wlan_hdd_cfg80211_extscan_set_significant_change() - set significant change
|
|
|
* @wiphy: Pointer to wireless phy
|
|
|
* @wdev: Pointer to wireless device
|
|
|
* @data: Pointer to data
|
|
@@ -4284,7 +4275,6 @@ static inline void wlan_hdd_init_completion_extwow(hdd_context_t *pHddCtx)
|
|
|
#else
|
|
|
static inline void wlan_hdd_init_completion_extwow(hdd_context_t *pHddCtx)
|
|
|
{
|
|
|
- return;
|
|
|
}
|
|
|
#endif
|
|
|
|