diff options
author | David Ward <david.ward@ll.mit.edu> | 2015-09-16 19:27:57 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2015-10-09 13:42:40 +0300 |
commit | 669e729f9fb4e05ff02dfa01cbb8606549c6cb7c (patch) | |
tree | d7edd05b71e03caa3af530da3b79c83ff9306f55 /net/ipv6/exthdrs.c | |
parent | bd8869e86b8a1e5e5b29fad766b2676bb74e5395 (diff) | |
download | linux-669e729f9fb4e05ff02dfa01cbb8606549c6cb7c.tar.xz |
USB: usb_wwan/option: generalize option_send_setup for other drivers
Only the option driver implements the send_setup callback; it uses the
SET_CONTROL_LINE_STATE request in CDC ACM to generate DTR/RTS signals
on the port. This is not driver-specific though and is needed by other
drivers, so move the function to the usb_wwan driver (with formatting
tweaks), and replace the callback pointer with a flag that enables the
request.
Suggested-by: Bjørn Mork <bjorn@mork.no>
Suggested-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'net/ipv6/exthdrs.c')
0 files changed, 0 insertions, 0 deletions