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>
This commit is contained in:
Alan 2015-02-19 21:43:35 +00:00 committed by Jiri Kosina
parent 2a2483685a
commit 52df3d5b6a
1 changed files with 1 additions and 1 deletions

View 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) {