RE: [PATCH rtw-next v2] wifi: rtw89: usb: Avoid crash with dynamically added device ID

Ping-Ke Shih <[email protected]>
Newsgroups org.kernel.vger.linux-wireless
Message-ID <[email protected]>
Bitterblue Smith <[email protected]> wrote:
> Adding a device ID via sysfs causes a crash when the device is plugged
> in, because the driver_info pointer is null.
> 
> Check for null driver_info in rtw89_usb_probe() and add a wrapper in
> each driver to pass it a reasonable default value.
> 
> Signed-off-by: Bitterblue Smith <[email protected]>

Acked-by: Ping-Ke Shih <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.