mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
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:
parent
e3c8d35f4a
commit
28dcf49c9f
2 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 |=
|
||||
|
|
|
|||
Loading…
Reference in a new issue