summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_mesh.c
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2011-12-17 10:32:31 +0000
committerbschmidt <bschmidt@FreeBSD.org>2011-12-17 10:32:31 +0000
commitd812d4dc6a926ad93b9c51ee84d7fa2430670d3a (patch)
tree65ce2ac4e1fb1a8f07c11807c3a9a30c056f233e /sys/net80211/ieee80211_mesh.c
parent49344f6037da62f1994e58cd9a5ba941ac34c519 (diff)
downloadFreeBSD-src-d812d4dc6a926ad93b9c51ee84d7fa2430670d3a.zip
FreeBSD-src-d812d4dc6a926ad93b9c51ee84d7fa2430670d3a.tar.gz
Remove now redundant mac argument.
Discussed with: adrian@
Diffstat (limited to 'sys/net80211/ieee80211_mesh.c')
-rw-r--r--sys/net80211/ieee80211_mesh.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_mesh.c b/sys/net80211/ieee80211_mesh.c
index d6e992b..b92f695 100644
--- a/sys/net80211/ieee80211_mesh.c
+++ b/sys/net80211/ieee80211_mesh.c
@@ -1120,8 +1120,7 @@ mesh_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf)
*
* NB: this check is also done upon peering link initiation.
*/
- 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++;
@@ -1379,8 +1378,7 @@ mesh_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, int subtype,
/*
* Peer only based on the current ACL policy.
*/
- 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++;
OpenPOWER on IntegriCloud