Re: [PATCH] staging: rtl8723bs: fix wireless regulatory API misuse

2021-01-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Tue, 26 Jan 2021 11:54:09 +0100 you wrote: > From: Johannes Berg > > This code ends up calling wiphy_apply_custom_regulatory(), for which > we document that it should be called before wiphy_register(). This > driver

[PATCH] staging: rtl8723bs: fix wireless regulatory API misuse

2021-01-26 Thread Johannes Berg
From: Johannes Berg This code ends up calling wiphy_apply_custom_regulatory(), for which we document that it should be called before wiphy_register(). This driver doesn't do that, but calls it from ndo_open() with the RTNL held, which caused deadlocks. Since the driver just registers static

Re: [PATCH] staging: rtl8723bs: fix wireless regulatory API misuse

2021-01-26 Thread Johannes Berg
On Tue, 2021-01-26 at 12:20 +0100, Greg Kroah-Hartman wrote: > > > Greg, can you take this for 5.11 please? Or if you prefer, since the > > patch that exposed this and broke the driver went through my tree, I > > can take it as well. > > Please feel free to take it through yours, as I don't

Re: [PATCH] staging: rtl8723bs: fix wireless regulatory API misuse

2021-01-26 Thread Greg Kroah-Hartman
On Tue, Jan 26, 2021 at 11:54:09AM +0100, Johannes Berg wrote: > From: Johannes Berg > > This code ends up calling wiphy_apply_custom_regulatory(), for which > we document that it should be called before wiphy_register(). This > driver doesn't do that, but calls it from ndo_open() with the RTNL