Commit b7af0bb
USB: allow malformed LANGID descriptors
When an USB hardware does not provide a valid LANGID, fall back to value
zero which is still a reasonable default for most devices.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>1 parent 4c24b6d commit b7af0bb
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
808 | 807 | | |
809 | 808 | | |
810 | | - | |
811 | | - | |
812 | 809 | | |
813 | | - | |
814 | 810 | | |
815 | 811 | | |
816 | 812 | | |
817 | 813 | | |
818 | 814 | | |
| 815 | + | |
| 816 | + | |
819 | 817 | | |
820 | 818 | | |
821 | 819 | | |
| |||
0 commit comments