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>
Fri, 16 Mar 2012 20:30:10 +0000 (13:30 -0700)
commit963940cf472d76eca2d36296e461202cc6997352
tree99d4ad0757d497e363597853cd1aa888fa35ef41
parent7396bd9fa1f291423b6e9a262662a447cc3deb86
USB: option: make interface blacklist work again

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>
Cc: <stable@vger.kernel.org> # 3.2.y, 3.3.y
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/option.c