android_kernel_xiaomi_sm8350/components/pmo
Sourav Mohapatra f4d4d50656 qcacld-3.0: Add zero check before division
In function pmo_core_calculate_listen_interval the max_mod_dtim is
obtained by division of sta ditm with the max ditm. The max ditm can be
zero and can cause divide by zero assert.

Add a zero check before division.

Change-Id: Ie48c8b1086efa4f36e55e83b44cc9cc528ed908d
CRs-Fixed: 2475568
2019-08-06 04:08:46 -07:00
..
core qcacld-3.0: Add zero check before division 2019-08-06 04:08:46 -07:00
dispatcher qcacld-3.0: Rectify max value of gEnableDynamicDTIM 2019-07-19 07:31:04 -07:00