summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_sta.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-10-23 19:57:13 +0000
committerdes <des@FreeBSD.org>2008-10-23 19:57:13 +0000
commit2668f9825b6a67e6cde6f82c2a5ec2b8ff9c4e56 (patch)
tree2609af8ef76f3a981fc12a1baa30a22ecf79aabf /sys/net80211/ieee80211_sta.c
parent859f75637c27578fee3a238da82d0eac47dc22f5 (diff)
downloadFreeBSD-src-2668f9825b6a67e6cde6f82c2a5ec2b8ff9c4e56.zip
FreeBSD-src-2668f9825b6a67e6cde6f82c2a5ec2b8ff9c4e56.tar.gz
Revert the removal of the MALLOC and FREE macros from the net80211 code.
Requested by: sam
Diffstat (limited to 'sys/net80211/ieee80211_sta.c')
-rw-r--r--sys/net80211/ieee80211_sta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_sta.c b/sys/net80211/ieee80211_sta.c
index c00af2b..c50fa53 100644
--- a/sys/net80211/ieee80211_sta.c
+++ b/sys/net80211/ieee80211_sta.c
@@ -1013,7 +1013,7 @@ sta_auth_shared(struct ieee80211_node *ni, struct ieee80211_frame *wh,
switch (seq) {
case IEEE80211_AUTH_SHARED_PASS:
if (ni->ni_challenge != NULL) {
- free(ni->ni_challenge, M_80211_NODE);
+ FREE(ni->ni_challenge, M_80211_NODE);
ni->ni_challenge = NULL;
}
if (status != 0) {
OpenPOWER on IntegriCloud