lorenzobianconi

Untitled

Jun 30th, 2025
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.40 KB | None | 0 0
  1. diff --git a/channel.c b/channel.c
  2. index e7b839e7..4b5e0c08 100644
  3. --- a/channel.c
  4. +++ b/channel.c
  5. @@ -179,6 +179,9 @@ void mt76_unassign_vif_chanctx(struct ieee80211_hw *hw,
  6.     dev->drv->vif_link_remove(phy, vif, link_conf, mlink);
  7.     mlink->ctx = NULL;
  8.  
  9. +   if (mlink == (struct mt76_vif_link *)vif->drv_priv)
  10. +       goto out;
  11. +
  12.     if (link_conf != &vif->bss_conf)
  13.         kfree_rcu(mlink, rcu_head);
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment