eth/r8152: fix assigning the wrong endpoint
authorHayes Wang <hayeswang@realtek.com>
Fri, 22 May 2020 08:54:10 +0000 (16:54 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 29 May 2020 17:18:55 +0000 (19:18 +0200)
commit3da0291ba9b4a429ed9226569c9014f5c7e13ac3
tree7e3412c21e0104ee63c4e7bde6d31a27c40956e8
parentab80137cc436e977ef91a154372ae5aeae3f4fb0
eth/r8152: fix assigning the wrong endpoint

Although I think it never occurs, the code doesn't make sense, because
it may allow to assign an IN endpoint to ss->ep_out.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
drivers/usb/eth/r8152.c