diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2011-12-17 10:32:31 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2011-12-17 10:32:31 +0000 |
commit | d812d4dc6a926ad93b9c51ee84d7fa2430670d3a (patch) | |
tree | 65ce2ac4e1fb1a8f07c11807c3a9a30c056f233e /sys/net80211/ieee80211_hostap.c | |
parent | 49344f6037da62f1994e58cd9a5ba941ac34c519 (diff) | |
download | FreeBSD-src-d812d4dc6a926ad93b9c51ee84d7fa2430670d3a.zip FreeBSD-src-d812d4dc6a926ad93b9c51ee84d7fa2430670d3a.tar.gz |
Remove now redundant mac argument.
Discussed with: adrian@
Diffstat (limited to 'sys/net80211/ieee80211_hostap.c')
-rw-r--r-- | sys/net80211/ieee80211_hostap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 625e45e..72e1771 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -1797,8 +1797,7 @@ hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, /* * Consult the ACL policy module if setup. */ - if (vap->iv_acl != NULL && - !vap->iv_acl->iac_check(vap, wh, wh->i_addr2)) { + if (vap->iv_acl != NULL && !vap->iv_acl->iac_check(vap, wh)) { IEEE80211_DISCARD(vap, IEEE80211_MSG_ACL, wh, NULL, "%s", "disallowed by ACL"); vap->iv_stats.is_rx_acl++; @@ -1883,8 +1882,7 @@ hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, /* * Consult the ACL policy module if setup. */ - if (vap->iv_acl != NULL && - !vap->iv_acl->iac_check(vap, wh, wh->i_addr2)) { + if (vap->iv_acl != NULL && !vap->iv_acl->iac_check(vap, wh)) { IEEE80211_DISCARD(vap, IEEE80211_MSG_ACL, wh, NULL, "%s", "disallowed by ACL"); vap->iv_stats.is_rx_acl++; |