diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-05-03 00:44:09 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 15:15:00 -0400 |
commit | 5c5e12898af0978a780991950be12d0d73c02f04 (patch) | |
tree | bb4c321ea741e4dae2bd87e3c75176110a8819ac /ipc | |
parent | 3df5ee60f1ee559b1417397461891f8b483e8089 (diff) |
mac80211: fix wme code
In commit e100bb64bf7cdeae7f742a65ee1985649a7fd1b4 (mac80211:
QoS related cleanups) I accidentally changed a variable from
int to u16 causing a warning that a comparison for < 0 was always
false. John thought this was a missing deletion of code and removed
the warning by deleting the never executed branch of code in commit
3df5ee60f1ee559b1417397461891f8b483e8089 (wireless: fix warning
introduced by "mac80211: QoS related cleanups") but the problem really
was my mistake of using a u16 variable for the queue variable when
that variable can also contain an error code. This patch restores
the original code and variable type.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions