From: Alan Date: Thu, 19 Feb 2015 21:43:35 +0000 (+0000) Subject: ipwireless: missing assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52df3d5b6a49dc3d867abb5414315490dd0098ef;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ipwireless: missing assignment We never report the error because we don't assign it to ret. Signed-off-by: Alan Cox Signed-off-by: Jiri Kosina --- diff --git a/drivers/tty/ipwireless/hardware.c b/drivers/tty/ipwireless/hardware.c index 2c14842541dd..017bfb624e8e 100644 --- a/drivers/tty/ipwireless/hardware.c +++ b/drivers/tty/ipwireless/hardware.c @@ -1455,7 +1455,7 @@ static void __handle_setup_get_version_rsp(struct ipw_hardware *hw) return; } - set_RTS(hw, PRIO_SETUP, channel_idx, + ret = set_RTS(hw, PRIO_SETUP, channel_idx, (hw->control_lines [channel_idx] & IPW_CONTROL_LINE_RTS) != 0); if (ret) {