projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a24836
)
ipwireless: missing assignment
author
Alan
<gnomes@lxorguk.ukuu.org.uk>
Thu, 19 Feb 2015 21:43:35 +0000
(21:43 +0000)
committer
Jiri 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
patch
|
blob
|
history
diff --git
a/drivers/tty/ipwireless/hardware.c
b/drivers/tty/ipwireless/hardware.c
index
2c14842
..
017bfb6
100644
(file)
--- 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) {