USB: option: make interface blacklist work again
authorBjørn Mork <bjorn@mork.no>
Fri, 16 Mar 2012 11:56:44 +0000 (12:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:26:51 +0000 (09:26 -0700)
commit3211a2ff343e6ad01a308036f154528d3bbd19e4
treed52ae88ac62d45f151708a1307eb2842b5ebae49
parentab39729d7263d1c185a0b98cd0a3fc41259568b7
USB: option: make interface blacklist work again

commit 963940cf472d76eca2d36296e461202cc6997352 upstream.

commit 0d905fd "USB: option: convert Huawei K3765, K4505, K4605
reservered interface to blacklist" accidentally ANDed two
blacklist tests by leaving out a return.  This was not noticed
because the two consecutive bracketless if statements made it
syntactically correct.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/option.c