|
@@ -456,7 +456,6 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy,
|
|
|
struct net_device *dev = request->wdev->netdev;
|
|
|
struct hdd_adapter *adapter = WLAN_HDD_GET_PRIV_PTR(dev);
|
|
|
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
|
|
- struct hdd_config *cfg_param = NULL;
|
|
|
int status;
|
|
|
struct hdd_scan_info *scan_info = NULL;
|
|
|
struct hdd_adapter *con_sap_adapter;
|
|
@@ -523,7 +522,6 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy,
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- cfg_param = hdd_ctx->config;
|
|
|
scan_info = &adapter->scan_info;
|
|
|
|
|
|
/* Block All Scan during DFS operation and send null scan result */
|
|
@@ -955,7 +953,8 @@ static int __wlan_hdd_cfg80211_vendor_scan(struct wiphy *wiphy,
|
|
|
struct nlattr *attr;
|
|
|
enum nl80211_band band;
|
|
|
uint32_t n_channels = 0, n_ssid = 0;
|
|
|
- uint32_t tmp, count, j;
|
|
|
+ uint32_t count, j;
|
|
|
+ int tmp;
|
|
|
size_t len, ie_len = 0;
|
|
|
struct ieee80211_channel *chan;
|
|
|
struct hdd_context *hdd_ctx = wiphy_priv(wiphy);
|