summaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/baycom_par.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-01-13 20:05:23 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-01-13 20:50:06 +0100
commit608cfbe4abaf76e9d732efd7ed1cfa3998163d91 (patch)
tree465d9293f24425ec3c03efdbe196ec756b8f68b8 /drivers/net/hamradio/baycom_par.c
parentbrcmsmac: delete useless variable (diff)
downloadlinux-608cfbe4abaf76e9d732efd7ed1cfa3998163d91.tar.xz
linux-608cfbe4abaf76e9d732efd7ed1cfa3998163d91.zip
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>
Diffstat (limited to 'drivers/net/hamradio/baycom_par.c')
0 files changed, 0 insertions, 0 deletions