1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Prevent foot-shooting in ieee80211_ratectl_node_deinit().

MFC after:	1 month
This commit is contained in:
Rui Paulo 2010-04-08 13:34:08 +00:00
parent 412ea5c6c5
commit 928f0167e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206398

View File

@ -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);
}