Re: [PATCH v2] wifi: mac80211: re-order unassigning channel in activate links

From: Aditya Kumar Singh
Date: Thu Dec 05 2024 - 10:13:38 EST


On 12/5/24 18:30, Johannes Berg wrote:
On Thu, 2024-12-05 at 12:43 +0100, Johannes Berg wrote:

Therefore, re-order the logic so that stations are handled first and then
channel is unassigned.


This causes memory leaks in my tests with iwlwifi.


And also firmware crashes because the station is removed while it's
still being used.


So is this exposing some underlying issue with iwlwifi? Or this change will break drivers which does not group multiple hardware into single wiphy?

Also, how about non-ML scenario in iwlwifi? There, first station is removed and then the interface goes down right?

--
Aditya