Skip to content

Commit

Permalink
ipwireless: missing assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan authored and Jiri Kosina committed Mar 6, 2015
1 parent 2a24836 commit 52df3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/ipwireless/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 52df3d5

Please sign in to comment.