mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Fix tcp chksum can't be enabled for sap
propagation from qcacld-2.0 to qcacld-3.0. In STA+AP or AP+AP mode, if the sap's interface is created rather than using wlan0, there is no setting for tcp chksum offload. Change-Id: I346ea186ad26c5f5a0fd4c3dee4a39b102570de7 CRs-Fixed: 1063245
This commit is contained in:
parent
afeb1d6b34
commit
3e6f638fcd
1 changed files with 5 additions and 0 deletions
|
|
@ -5818,6 +5818,11 @@ hdd_adapter_t *hdd_wlan_create_ap_dev(hdd_context_t *pHddCtx,
|
|||
pWlanHostapdDev->mtu = HDD_DEFAULT_MTU;
|
||||
pWlanHostapdDev->tx_queue_len = HDD_NETDEV_TX_QUEUE_LEN;
|
||||
|
||||
if (pHddCtx->config->enable_ip_tcp_udp_checksum_offload)
|
||||
pWlanHostapdDev->features |=
|
||||
NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM;
|
||||
pWlanHostapdDev->features |= NETIF_F_RXCSUM;
|
||||
|
||||
qdf_mem_copy(pWlanHostapdDev->dev_addr, (void *)macAddr,
|
||||
sizeof(tSirMacAddr));
|
||||
qdf_mem_copy(pHostapdAdapter->macAddressCurrent.bytes,
|
||||
|
|
|
|||
Loading…
Reference in a new issue