commit | 8bdadac13f65c14d7b6df711793eb31ba9db296e | [log] [tgz] |
---|---|---|
author | Rajkumar Manoharan <rmanohar@qti.qualcomm.com> | Tue Jan 13 14:52:14 2015 +0530 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Thu Jan 15 12:33:42 2015 +0200 |
tree | cebd3a96f033bde25f6d62621517dfd317b9349f | |
parent | fbb8f1b729b82f2b48350ffc096f107d1a6ea12d [diff] |
ath10k: fix duration calculation for quiet param The duty cycle (% of quiet duration) is used to put the device in quiet mode for the given period. Currently the quiet duration is wrongly calculated which results in not enabling quiet mode. Fix the calculation as below duration = (period * duty cycle) / 100 Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>