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:
@@ -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
|
* during that time, then as part of SSR init, do not enable
|
||||||
* the LRO again. Keep the LRO state same as before SSR.
|
* 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;
|
adapter->dev->features |= NETIF_F_LRO;
|
||||||
|
|
||||||
/* rcpi info initialization */
|
/* rcpi info initialization */
|
||||||
|
Reference in New Issue
Block a user