diff options
author | Guillaume Chazarain <guichaz@yahoo.fr> | 2006-07-23 23:37:24 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-24 12:44:23 -0700 |
commit | 2266d8886f64c66e0a4e61e3e1c19dbc27ed00d4 (patch) | |
tree | 09666e27746a3aac8c00d6bfc3717939354888e1 /net/bluetooth/rfcomm | |
parent | 4b79f0af48d529a360d3529def01835dc5d45fe1 (diff) | |
download | kernel_samsung_espresso10-2266d8886f64c66e0a4e61e3e1c19dbc27ed00d4.zip kernel_samsung_espresso10-2266d8886f64c66e0a4e61e3e1c19dbc27ed00d4.tar.gz kernel_samsung_espresso10-2266d8886f64c66e0a4e61e3e1c19dbc27ed00d4.tar.bz2 |
[PKT_SCHED]: Fix regression in PSCHED_TADD{,2}.
In PSCHED_TADD and PSCHED_TADD2, if delta is less than tv.tv_usec (so,
less than USEC_PER_SEC too) then tv_res will be smaller than tv. The
affectation "(tv_res).tv_usec = __delta;" is wrong. The fix is to
revert to the original code before
4ee303dfeac6451b402e3d8512723d3a0f861857 and change the 'if' in
'while'.
[Shuya MAEDA: "while (__delta >= USEC_PER_SEC){ ... }" instead of
"while (__delta > USEC_PER_SEC){ ... }"]
Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/rfcomm')
0 files changed, 0 insertions, 0 deletions