android_kernel_xiaomi_sm8350/core/hdd
Himanshu Agarwal 3d95b90726 qcacld-3.0: Do LRO enable and disable on iface up and down
In case of dynamic mode driver load/unload, a timer is started
whenever driver is loaded. If some iface don't come up in certain
amount of time, this timer expires resulting in cleanup of hif_softc
structure. This structure has LRO flush callback stored in it which
also gets removed as part of cleanup. As this callback is stored only
at the time of driver load, this cause a break in LRO functionality
and also an assert in HOST driver as driver is trying to remove the
callback at the time of driver unload which has already been removed
at the time of timer expiration.

Do LRO enable and disable at the time of ifconfig up and ifconfig
down. This ensures that even after the modules are cleaned when
timer expires, the callback is registered again at the time of
ifconfig up.

Change-Id: I91116d4ff4fe8f24671f63b2c73759fe9e088172
CRs-Fixed: 1059720
2016-09-02 17:24:18 -07:00
..
inc qcacld-3.0: Increase the max value for ini gEGAPWaitTime to 300000 2016-09-02 17:23:58 -07:00
src qcacld-3.0: Do LRO enable and disable on iface up and down 2016-09-02 17:24:18 -07:00