qcacld-3.0: avoid conditional compilation for HEADROOM_SIZE macro

qcacld-2.0 to qcacld-3.0 propagation
In hdd_alloc_station_adapter, deleted pWlanDev->hard_header_len updating
code.

Change-Id: I7a3ead434a910dd522f9a02a24cd6ad8669e3fc8
CRs-Fixed: 853305
This commit is contained in:
Ratnam Rachuri 2015-12-02 16:11:02 +05:30 • committed by Satish Singh
commit 28dcf49c9f
2 changed files with 0 additions and 3 deletions

View file

@ -79,8 +79,6 @@
/** Length of the TX queue for the netdev */
#define HDD_NETDEV_TX_QUEUE_LEN (3000)
/** Bytes to reserve in the headroom */
#define LIBRA_HW_NEEDED_HEADROOM 128
/** Hdd Tx Time out value */
#ifdef LIBRA_LINUX_PC
#define HDD_TX_TIMEOUT (8000)

View file

@ -1815,7 +1815,6 @@ static hdd_adapter_t *hdd_alloc_station_adapter(hdd_context_t *hdd_ctx,
cdf_mem_copy(adapter->macAddressCurrent.bytes, macAddr,
sizeof(tSirMacAddr));
pWlanDev->watchdog_timeo = HDD_TX_TIMEOUT;
pWlanDev->hard_header_len += LIBRA_HW_NEEDED_HEADROOM;
if (hdd_ctx->config->enable_ip_tcp_udp_checksum_offload)
pWlanDev->features |=