aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-01-06 10:07:29 -0600
committerDavid S. Miller <davem@davemloft.net>2014-01-06 16:29:44 -0500
commite5e97ee956d8c5ed2fc5877d29dee17a6a59de8e (patch)
tree4ba164bc41e31004989688f0d0504c84ea5a70ec /net/ipv6
parentisdn: Drop big endian cpp checks from telespci and hfc_pci drivers (diff)
downloadlinux-dev-e5e97ee956d8c5ed2fc5877d29dee17a6a59de8e.tar.xz
linux-dev-e5e97ee956d8c5ed2fc5877d29dee17a6a59de8e.zip
hso: fix handling of modem port SERIAL_STATE notifications
The existing serial state notification handling expected older Option devices, having a hardcoded assumption that the Modem port was always USB interface #2. That isn't true for devices from the past few years. hso_serial_state_notification is a local cache of a USB Communications Interface Class SERIAL_STATE notification from the device, and the USB CDC specification (section 6.3, table 67 "Class-Specific Notifications") defines wIndex as the USB interface the event applies to. For hso devices this will always be the Modem port, as the Modem port is the only port which is set up to receive them by the driver. So instead of always expecting USB interface #2, instead validate the notification with the actual USB interface number of the Modem port. Signed-off-by: Dan Williams <dcbw@redhat.com> Tested-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions