diff options
| author | Jeff Johnson <jjohnson@qca.qualcomm.com> | 2014-04-25 13:29:19 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-04-26 19:24:28 -0700 |
| commit | 60bf14fe03eaad5ca8aed88e7be796f1be64f5ac (patch) | |
| tree | 23b34e882be01af1a1f18ee9afba8faa59e82cab | |
| parent | 95efd364468501ac3d98935f3a14a5f9f783f762 (diff) | |
wlan: qcacld: hdd: remove obsolete HDD_SESSIONIZE code
The qcacld HDD has some logic that is conditionally compiled based
upon the HDD_SESSIONIZE macro. This code is obsolete, so remove it.
Change-Id: Id21f55f18b041149843f7b0940b01328ecbcbe52
CRs-fixed: 655584
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_ftm.c | 8 | ||||
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_main.c | 15 |
2 files changed, 0 insertions, 23 deletions
diff --git a/CORE/HDD/src/wlan_hdd_ftm.c b/CORE/HDD/src/wlan_hdd_ftm.c index 9c49f1558a50..78922a47dba9 100644 --- a/CORE/HDD/src/wlan_hdd_ftm.c +++ b/CORE/HDD/src/wlan_hdd_ftm.c @@ -1530,14 +1530,6 @@ int wlan_hdd_ftm_open(hdd_context_t *pHddCtx) #endif #endif -#ifdef HDD_SESSIONIZE - //Turn off carrier state - netif_carrier_off(pAdapter->dev); - - //Stop the Interface TX queue. Just being safe - netif_tx_disable(pAdapter->dev); -#endif - pHddCtx->ftm.processingNVTable = NV_MAX_TABLE; pHddCtx->ftm.targetNVTableSize = 0; pHddCtx->ftm.targetNVTablePointer = NULL; diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index 772f6fecd04f..7eb02ff8acc9 100644 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -7312,21 +7312,6 @@ static int hdd_set_mac_address(struct net_device *dev, void *addr) ENTER(); memcpy(&pAdapter->macAddressCurrent, psta_mac_addr->sa_data, ETH_ALEN); - -#ifdef HDD_SESSIONIZE - // set the MAC address though the STA ID CFG. - halStatus = ccmCfgSetStr( pAdapter->hHal, WNI_CFG_STA_ID, - (v_U8_t *)&pAdapter->macAddressCurrent, - sizeof( pAdapter->macAddressCurrent ), - hdd_set_mac_addr_cb, VOS_FALSE ); - if( eHAL_STATUS_SUCCESS != halStatus) - { - VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - "%s: failed to set MAC address in CFG", __func__); - } - -#endif - memcpy(dev->dev_addr, psta_mac_addr->sa_data, ETH_ALEN); EXIT(); |
