summaryrefslogtreecommitdiff
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorPetko Manolov <petkan@nucleusys.com>2013-04-26 02:41:50 +0400
committerDavid S. Miller <davem@davemloft.net>2013-04-29 21:57:50 +0400
commit323b34963d113efb566635f43858f40cce01d5f9 (patch)
treecce217081da276ac54ad37b3ffa78c2da9e54ae8 /net/bluetooth/l2cap_sock.c
parent2bd647018fe1b20c5c11dd1c508baea5771cd074 (diff)
downloadlinux-323b34963d113efb566635f43858f40cce01d5f9.tar.xz
drivers: net: usb: pegasus: fix control urb submission
Pegasus driver used single callback for sync and async control URBs. Special flags were employed to distinguish between both, but due to flawed logic it didn't always work. As a result of this change [get|set]_registers() are now much simpler. Async write is also leaner and does not use single, statically allocated memory for usb_ctrlrequest, which is another potential race when asynchronously submitting URBs. Signed-off-by: Petko Manolov <petkan@nucleusys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions