ipwireless: missing assignment
authorAlan <gnomes@lxorguk.ukuu.org.uk>
Thu, 19 Feb 2015 21:43:35 +0000 (21:43 +0000)
committerJiri Kosina <jkosina@suse.cz>
Fri, 6 Mar 2015 22:12:00 +0000 (23:12 +0100)
We never report the error because we don't assign it to ret.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/tty/ipwireless/hardware.c

index 2c14842541dd74e7d05115f2d114567b902f84a0..017bfb624e8e71252ddeede12cb42400b929c0f2 100644 (file)
@@ -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) {