Re: [PATCH v2] ieee802154: atusb: fix uninit value in atusb_set_extended_addr

From: Pavel Skripkin
Date: Tue Jan 04 2022 - 13:11:31 EST


On 1/4/22 21:04, Stefan Schmidt wrote:
Hi Stefan,

thanks for testing on real hw.

It looks like there is corner case, that Greg mentioned in this thread. atusb_get_and_show_build() reads firmware build info, which may have various length.

Maybe we can change atusb_control_msg() to usb_control_msg() in atusb_get_and_show_build(), since other callers do not have this problem

That works for me.


Nice! Will prepare v3.


Thanks for testing once again!

I will also have a look at the use of the modern USB API for next. The
fix here has a higher prio for me to get in and backported though. Once
we have this we can look at bigger changes in atusb.



With regards,
Pavel Skripkin