drivers: xhci: fix incorrect bit test
authorNickolai Zeldovich <nickolai@csail.mit.edu>
Tue, 8 Jan 2013 03:39:31 +0000 (22:39 -0500)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 24 Jan 2013 17:53:37 +0000 (09:53 -0800)
commitba7b5c22d33136a5612ca5ef8d31564dcc501126
tree428f5d86255666319ab86584fddd845c961824a1
parentf18f8ed2a9adc41c2d9294b85b6af115829d2af1
drivers: xhci: fix incorrect bit test

Fix incorrect bit test that originally showed up in
4ee823b83bc9851743fab756c76b27d6a1e2472b "USB/xHCI: Support
device-initiated USB 3.0 resume."

Use '&' instead of '&&'.

This should be backported to kernels as old as 3.4.

Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
drivers/usb/host/xhci-ring.c