mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Consider INI param LROEnable during advertising LRO
Currently in driver we are advertising LRO Support as part of hdd_init_station_mode() with dev->features |= NETIF_F_LRO. This is not tied up with INI param "LROEnable", to advertise LRO to kernel. Add INI check for "LROEnable" before advertising LRO. Change-Id: I6a3940b65e72ae12015d0303c573456d44e1ac9c CRs-Fixed: 2269590
This commit is contained in:
parent
6d00fad947
commit
90a73092e6
1 changed files with 2 additions and 1 deletions
|
|
@ -4187,7 +4187,8 @@ QDF_STATUS hdd_init_station_mode(struct hdd_adapter *adapter)
|
|||
* during that time, then as part of SSR init, do not enable
|
||||
* the LRO again. Keep the LRO state same as before SSR.
|
||||
*/
|
||||
if (!(qdf_atomic_read(&hdd_ctx->vendor_disable_lro_flag)))
|
||||
if (hdd_ctx->config->lro_enable &&
|
||||
!(qdf_atomic_read(&hdd_ctx->vendor_disable_lro_flag)))
|
||||
adapter->dev->features |= NETIF_F_LRO;
|
||||
|
||||
/* rcpi info initialization */
|
||||
|
|
|
|||
Loading…
Reference in a new issue