summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_hostap.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-12-18 23:00:09 +0000
committersam <sam@FreeBSD.org>2008-12-18 23:00:09 +0000
commit7aaeeb07043adcd94c535d5c394f69f9c560c4ad (patch)
treeb42405564087361d41f618b7f4c6bab0f5f3fd52 /sys/net80211/ieee80211_hostap.c
parentb3c73dcac3e506d7568bd9ad1458369b01018e33 (diff)
downloadFreeBSD-src-7aaeeb07043adcd94c535d5c394f69f9c560c4ad.zip
FreeBSD-src-7aaeeb07043adcd94c535d5c394f69f9c560c4ad.tar.gz
convert MALLOC/FREE to malloc/free
Diffstat (limited to 'sys/net80211/ieee80211_hostap.c')
-rw-r--r--sys/net80211/ieee80211_hostap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c
index 80fe9fe..c333954 100644
--- a/sys/net80211/ieee80211_hostap.c
+++ b/sys/net80211/ieee80211_hostap.c
@@ -902,7 +902,7 @@ hostap_auth_open(struct ieee80211_node *ni, struct ieee80211_frame *wh,
* open auth is attempted.
*/
if (ni->ni_challenge != NULL) {
- FREE(ni->ni_challenge, M_80211_NODE);
+ free(ni->ni_challenge, M_80211_NODE);
ni->ni_challenge = NULL;
}
/* XXX hack to workaround calling convention */
@@ -1996,7 +1996,7 @@ hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0,
return;
/* discard challenge after association */
if (ni->ni_challenge != NULL) {
- FREE(ni->ni_challenge, M_80211_NODE);
+ free(ni->ni_challenge, M_80211_NODE);
ni->ni_challenge = NULL;
}
/* NB: 802.11 spec says to ignore station's privacy bit */
OpenPOWER on IntegriCloud