diff options
| author | Hayes Wang <[email protected]> | 2024-03-08 07:52:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-11 21:12:16 +0000 |
| commit | 46590b545df636aea0f9f7f2100d9963c0af5824 (patch) | |
| tree | c282ab6656d7f489ee38336cf1fc639ded051493 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | devlink: Fix length of eswitch inline-mode (diff) | |
| download | kernel-46590b545df636aea0f9f7f2100d9963c0af5824.tar.gz kernel-46590b545df636aea0f9f7f2100d9963c0af5824.zip | |
r8152: fix unknown device for choose_configuration
For the unknown device, rtl8152_cfgselector_choose_configuration()
should return a negative value. Then, usb_choose_configuration() would
set a configuration for CDC ECM or NCM mode. Otherwise, there is no
usb interface driver for the device.
Fixes: aa4f2b3e418e ("r8152: Choose our USB config with choose_configuration() rather than probe()")
Signed-off-by: Hayes Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
