qcacld-3.0: Remove SSR protect (transitions)
As part of DSC integration cleanup, remove SSR protection from transitions where osif_sync trans start/stop protection is also in place. Change-Id: I0b4a9404697d130c8a1bfeb7d2c0d2977d825f5c CRs-Fixed: 2411001
This commit is contained in:
parent
47568be1ab
commit
ffaf8cce87
@ -13960,10 +13960,8 @@ static int _wlan_hdd_cfg80211_change_iface(struct wiphy *wiphy,
|
||||
if (errno)
|
||||
return errno;
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __wlan_hdd_cfg80211_change_iface(wiphy, net_dev, type,
|
||||
flags, params);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
|
||||
|
@ -465,9 +465,7 @@ static int hdd_hostapd_open(struct net_device *net_dev)
|
||||
if (errno)
|
||||
return errno;
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __hdd_hostapd_open(net_dev);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
|
||||
@ -538,9 +536,7 @@ int hdd_hostapd_stop(struct net_device *net_dev)
|
||||
if (errno)
|
||||
return errno;
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __hdd_hostapd_stop(net_dev);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
|
||||
@ -1090,9 +1086,7 @@ void wlan_hdd_sap_pre_cac_failure(void *data)
|
||||
osif_vdev_sync_unregister(adapter->dev);
|
||||
osif_vdev_sync_wait_for_ops(vdev_sync);
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
__wlan_hdd_sap_pre_cac_failure(data);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
osif_vdev_sync_destroy(vdev_sync);
|
||||
@ -1161,9 +1155,7 @@ static void wlan_hdd_sap_pre_cac_success(void *data)
|
||||
osif_vdev_sync_unregister(adapter->dev);
|
||||
osif_vdev_sync_wait_for_ops(vdev_sync);
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
__wlan_hdd_sap_pre_cac_success(adapter);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
osif_vdev_sync_destroy(vdev_sync);
|
||||
|
@ -2175,9 +2175,7 @@ static int hdd_mon_open(struct net_device *net_dev)
|
||||
if (errno)
|
||||
return errno;
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __hdd_mon_open(net_dev);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
|
||||
@ -3161,9 +3159,7 @@ static int hdd_open(struct net_device *net_dev)
|
||||
if (errno)
|
||||
return errno;
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __hdd_open(net_dev);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
|
||||
@ -3279,9 +3275,7 @@ static int hdd_stop(struct net_device *net_dev)
|
||||
if (errno)
|
||||
return errno;
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __hdd_stop(net_dev);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
|
||||
@ -13675,9 +13669,7 @@ static int hdd_driver_mode_change(enum QDF_GLOBAL_MODE mode)
|
||||
goto trans_stop;
|
||||
}
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __hdd_driver_mode_change(hdd_ctx, mode);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
trans_stop:
|
||||
osif_driver_sync_trans_stop(driver_sync);
|
||||
|
@ -773,10 +773,8 @@ _wlan_hdd_add_virtual_intf(struct wiphy *wiphy,
|
||||
if (errno)
|
||||
return ERR_PTR(errno);
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
wdev = __wlan_hdd_add_virtual_intf(wiphy, name, name_assign_type,
|
||||
type, flags, params);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
if (IS_ERR_OR_NULL(wdev))
|
||||
goto destroy_sync;
|
||||
@ -890,9 +888,7 @@ int wlan_hdd_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
|
||||
osif_vdev_sync_unregister(wdev->netdev);
|
||||
osif_vdev_sync_wait_for_ops(vdev_sync);
|
||||
|
||||
cds_ssr_protect(__func__);
|
||||
errno = __wlan_hdd_del_virtual_intf(wiphy, wdev);
|
||||
cds_ssr_unprotect(__func__);
|
||||
|
||||
osif_vdev_sync_trans_stop(vdev_sync);
|
||||
osif_vdev_sync_destroy(vdev_sync);
|
||||
|
Loading…
Reference in New Issue
Block a user