Re: [PATCH] ath10k: fix duration calculation for quiet param

2015-01-15 Thread Kalle Valo
Rajkumar Manoharan writes: > 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)

[PATCH] ath10k: fix duration calculation for quiet param

2015-01-13 Thread Rajkumar Manoharan
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 Manohara