commit | dcec4608d8ff12b9029c94c197018e8e1a5c99c8 | [log] [tgz] |
---|---|---|
author | Bjarne von Horn <B.von_horn@wzl.rwth-aachen.de> | Sat Jul 30 17:13:41 2022 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Dec 05 18:31:38 2022 +0100 |
tree | 1a4630d319ac2f0dc26a14f85d21ba24dab1c0a7 | |
parent | c58c76ef0a5a959bf7b2a3df010daa84bfb26ec0 [diff] |
drivers: ethernet: stm32: check tx packet size before locking mutex The transmit mutex is not needed while checking the packet size, so we acquire the lock after checking the size and return early if it is too big. Signed-off-by: Bjarne von Horn <B.von_horn@wzl.rwth-aachen.de>