OSDN Git Service

r8152: search the configuration of vendor mode
authorHayes Wang <hayeswang@realtek.com>
Fri, 16 Apr 2021 08:04:37 +0000 (16:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Apr 2021 22:28:31 +0000 (15:28 -0700)
commitc2198943e33b100ed21dfb636c8fa6baef841e9d
tree2b9606d884cda82119aa36be187b5507217dd158
parent4a51b0e8a0143b0e83d51d9c58c6416c3818a9f2
r8152: search the configuration of vendor mode

The vendor mode is not always at config #1, so it is necessary to
set the correct configuration number.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c