diff options
author | Hayes Wang <hayeswang@realtek.com> | 2024-03-08 08:52:06 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-11 22:12:16 +0100 |
commit | 46590b545df636aea0f9f7f2100d9963c0af5824 (patch) | |
tree | c282ab6656d7f489ee38336cf1fc639ded051493 /drivers/net/wireless/ath/ath11k/mac.h | |
parent | devlink: Fix length of eswitch inline-mode (diff) | |
download | linux-46590b545df636aea0f9f7f2100d9963c0af5824.tar.xz linux-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 <hayeswang@realtek.com>
Link: https://lore.kernel.org/r/20240308075206.33553-436-nic_swsd@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/mac.h')
0 files changed, 0 insertions, 0 deletions