projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1874801
)
kernel/wlan_acl: Put two more ethstr[] under IEEE80211_DEBUG.
author
Sascha Wildner <saw@online.de>
Wed, 16 Jan 2013 20:34:26 +0000 (21:34 +0100)
committer
Sascha Wildner <saw@online.de>
Wed, 16 Jan 2013 20:34:26 +0000 (21:34 +0100)
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/netproto/802_11/wlan_acl/ieee80211_acl.c
b/sys/netproto/802_11/wlan_acl/ieee80211_acl.c
index
c9ab8ac
..
f2d6352
100644
(file)
--- a/
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
+++ b/
sys/netproto/802_11/wlan_acl/ieee80211_acl.c
@@
-168,7
+168,9
@@
acl_add(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN])
{
struct aclstate *as = vap->iv_as;
struct acl *acl, *new;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
int hash;
new = (struct acl *) kmalloc(sizeof(struct acl), M_80211_ACL, M_INTWAIT | M_ZERO);
@@
-204,7
+206,9
@@
acl_remove(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN])
{
struct aclstate *as = vap->iv_as;
struct acl *acl;
+#ifdef IEEE80211_DEBUG
char ethstr[ETHER_ADDRSTRLEN + 1];
+#endif
acl = _find_acl(as, mac);
if (acl != NULL)