realtek: fix use of uninitialized sds_mode
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Wed, 30 Mar 2022 03:00:42 +0000 (12:00 +0900)
committerSander Vanheule <sander@svanheule.net>
Sat, 8 Oct 2022 09:05:02 +0000 (11:05 +0200)
commit04cca345dfc8d0debbdad0bb1907003d3433cd8c
tree13747459bfc257998946e27b9cb60a51861902c6
parent27a580df4a560ccecc0f8d6dd0b0229a4c9192ce
realtek: fix use of uninitialized sds_mode

The initial state of sds_mode in rtl9300_force_sds_mode() is null and it
will be configured in switch-case. So print message after it.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
[amend commit message]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c