summaryrefslogtreecommitdiff
path: root/drivers/tty/ipwireless
diff options
context:
space:
mode:
authorAlan <gnomes@lxorguk.ukuu.org.uk>2015-02-19 21:43:35 +0000
committerJiri Kosina <jkosina@suse.cz>2015-03-06 23:12:00 +0100
commit52df3d5b6a49dc3d867abb5414315490dd0098ef (patch)
tree965bfb21f5a2c9462c286bc896892ab61b5eb536 /drivers/tty/ipwireless
parent2a2483685a9decd0af60f1dc9e49f46f9e65891b (diff)
ipwireless: missing assignment
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>
Diffstat (limited to 'drivers/tty/ipwireless')
-rw-r--r--drivers/tty/ipwireless/hardware.c2
1 files changed, 1 insertions, 1 deletions
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) {