mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Prevent foot-shooting in ieee80211_ratectl_node_deinit().
MFC after: 1 month
This commit is contained in:
parent
412ea5c6c5
commit
928f0167e9
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ ieee80211_ratectl_node_deinit(struct ieee80211_node *ni)
|
|||
{
|
||||
const struct ieee80211vap *vap = ni->ni_vap;
|
||||
|
||||
if (ni->ni_rctls == NULL) /* ratectl not setup */
|
||||
return;
|
||||
vap->iv_rate->ir_node_deinit(ni);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue