File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -230,8 +230,7 @@ static int check_autonegotiation_completion(const struct device *dev)
230
230
231
231
if (!(bmsr_reg & MII_BMSR_AUTONEG_COMPLETE )) {
232
232
if (data -> autoneg_timeout -- == 0U ) {
233
- LOG_DBG ("PHY (%d) auto-negotiate timedout" ,
234
- cfg -> phy_addr );
233
+ LOG_DBG ("PHY (%d) auto-negotiate timedout" , cfg -> phy_addr );
235
234
return - ETIMEDOUT ;
236
235
}
237
236
return - EINPROGRESS ;
@@ -328,9 +327,8 @@ static void monitor_work_handler(struct k_work *work)
328
327
k_work_reschedule (& data -> autoneg_work ,
329
328
K_MSEC (MII_AUTONEG_POLL_INTERVAL_MS ));
330
329
} else {
331
- /* Submit delayed work */
332
- k_work_reschedule (& data -> monitor_work ,
333
- K_MSEC (CONFIG_PHY_MONITOR_PERIOD ));
330
+ /* Submit delayed work */
331
+ k_work_reschedule (& data -> monitor_work , K_MSEC (CONFIG_PHY_MONITOR_PERIOD ));
334
332
}
335
333
}
336
334
You can’t perform that action at this time.
0 commit comments