|
@@ -1291,8 +1291,6 @@ static int __wlan_hdd_cfg80211_sched_scan_start(struct wiphy *wiphy,
|
|
|
bool enable_connected_scan;
|
|
|
enum QDF_GLOBAL_MODE curr_mode;
|
|
|
|
|
|
- hdd_enter();
|
|
|
-
|
|
|
curr_mode = hdd_get_conparam();
|
|
|
|
|
|
if (QDF_GLOBAL_FTM_MODE == curr_mode ||
|
|
@@ -1424,8 +1422,6 @@ static int __wlan_hdd_cfg80211_sched_scan_stop(struct net_device *dev)
|
|
|
int errno;
|
|
|
enum QDF_GLOBAL_MODE curr_mode;
|
|
|
|
|
|
- hdd_enter();
|
|
|
-
|
|
|
curr_mode = hdd_get_conparam();
|
|
|
|
|
|
if (QDF_GLOBAL_FTM_MODE == curr_mode ||
|
|
@@ -1471,8 +1467,6 @@ static int __wlan_hdd_cfg80211_sched_scan_stop(struct net_device *dev)
|
|
|
|
|
|
errno = wlan_hdd_sched_scan_stop(dev);
|
|
|
|
|
|
- hdd_exit();
|
|
|
-
|
|
|
return errno;
|
|
|
}
|
|
|
|