projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09e495
)
USB: Fix priority mistakes in drivers/usb/core/hub.c
author
Roel Kluin
<
[email protected]
>
Fri, 26 Oct 2007 21:54:35 +0000
(23:54 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 28 Nov 2007 21:58:33 +0000
(13:58 -0800)
Fixes priority mistakes similar to '!x & y'
Signed-off-by: Roel Kluin <
[email protected]
>
Acked-by: Alan Stern <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 036c3dea855e66d4df3186dd83df3ecbd20542d7..13b326a13377051e54cf7824adffad8ef21fd1c0 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-335,7
+335,7
@@
static void kick_khubd(struct usb_hub *hub)
to_usb_interface(hub->intfdev)->pm_usage_cnt = 1;
spin_lock_irqsave(&hub_event_lock, flags);
- if (!hub->disconnected & list_empty(&hub->event_list)) {
+ if (!hub->disconnected &
&
list_empty(&hub->event_list)) {
list_add_tail(&hub->event_list, &hub_event_list);
wake_up(&khubd_wait);
}