On 2021-08-26 18:57, Johannes Berg wrote:
On Thu, 2021-08-26 at 18:50 +0800, Wen Gong wrote:> it is memset here i this patch:Oops, missed that.But is that really a good place for it? Doesn't really seem to belong toassigning a channel context - maybe put it into set_disassoc()?
it is correct.you can see it is place together with "drv_unassign_vif_chanctx(local, sdata, curr_ctx)"
in ieee80211_assign_vif_chanctx(), it is for disconnect.
johannes