commit | 608cfbe4abaf76e9d732efd7ed1cfa3998163d91 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jan 13 22:05:23 2014 +0300 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Jan 13 14:50:06 2014 -0500 |
tree | 465d9293f24425ec3c03efdbe196ec756b8f68b8 | |
parent | 6dc75f1c9ff912cdfea4cf6a2bb5957ea174a9e5 [diff] |
p54: clamp properly instead of just truncating The call to clamp_t() first truncates the variable signed 8 bit and as a result, the actual clamp is a no-op. Fixes: 0d78156eef1d ('p54: improve site survey') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>