summaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorJiri Slaby2011-03-13 07:54:31 +0100
committerDavid S. Miller2011-03-14 23:24:18 +0100
commit468c3f924f043cad7a04f4f4d5224a2c9bc886c1 (patch)
tree124213e020ed944cb879165a8f6233aff1066182 /net/unix
parentNET: cdc-phonet, fix stop-queue handling (diff)
downloadkernel-qcow2-linux-468c3f924f043cad7a04f4f4d5224a2c9bc886c1.tar.gz
kernel-qcow2-linux-468c3f924f043cad7a04f4f4d5224a2c9bc886c1.tar.xz
kernel-qcow2-linux-468c3f924f043cad7a04f4f4d5224a2c9bc886c1.zip
NET: cdc-phonet, handle empty phonet header
Currently, for N 5800 XM I get: cdc_phonet: probe of 1-6:1.10 failed with error -22 It's because phonet_header is empty. Extra altsetting looks like there: E 05 24 00 01 10 03 24 ab 05 24 06 0a 0b 04 24 fd .$....$..$....$. E 00 . I don't see the header used anywhere so just check if the phonet descriptor is there, not the structure itself. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Cc: David S. Miller <davem@davemloft.net> Acked-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions