mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-06-25 08:33:20 +00:00
The call to clamp_t() first truncates the variable signed 8 bit and as a
result, the actual clamp is a no-op.
Fixes: 0d78156eef ('p54: improve site survey')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>