Re: [linux-usb-devel] disabling interrupts

2007-08-09 Thread Alan Stern
On Thu, 9 Aug 2007, Gabriel Maganis wrote: > Hello, > Why is it that I can still succesfully execute a usb_control_msg() > even if disable interrupts i.e. > > save_flags(flags); > cli(); > usb_control_msg(); > restore_flags(flags); > > Is the usb subsystem checking for it and re-enabling int

[linux-usb-devel] disabling interrupts

2007-08-09 Thread Gabriel Maganis
Hello, Why is it that I can still succesfully execute a usb_control_msg() even if disable interrupts i.e. save_flags(flags); cli(); usb_control_msg(); restore_flags(flags); Is the usb subsystem checking for it and re-enabling interrupts somehow? Thanks, Gabriel -