summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_acl.c
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2011-06-16 09:37:20 +0000
committerkevlo <kevlo@FreeBSD.org>2011-06-16 09:37:20 +0000
commitcc8fba8d7c933e32931cfc80150a2ed465e70825 (patch)
tree0fcb83a98a38ba202ebe1b1dc5e7536608927c75 /sys/net80211/ieee80211_acl.c
parent47a79e7f33b2a1b4ff9273b5da268287f7008ca4 (diff)
downloadFreeBSD-src-cc8fba8d7c933e32931cfc80150a2ed465e70825.zip
FreeBSD-src-cc8fba8d7c933e32931cfc80150a2ed465e70825.tar.gz
Change i_len in ieee80211req to be unsigned and fix other signed/unsigned
issues. Reviewed by: bschmidt Obtained from: NetBSD
Diffstat (limited to 'sys/net80211/ieee80211_acl.c')
-rw-r--r--sys/net80211/ieee80211_acl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_acl.c b/sys/net80211/ieee80211_acl.c
index cb20b87..da505e3 100644
--- a/sys/net80211/ieee80211_acl.c
+++ b/sys/net80211/ieee80211_acl.c
@@ -77,7 +77,7 @@ struct acl {
struct aclstate {
acl_lock_t as_lock;
int as_policy;
- int as_nacls;
+ uint32_t as_nacls;
TAILQ_HEAD(, acl) as_list; /* list of all ACL's */
LIST_HEAD(, acl) as_hash[ACL_HASHSIZE];
struct ieee80211vap *as_vap;
@@ -289,7 +289,8 @@ acl_getioctl(struct ieee80211vap *vap, struct ieee80211req *ireq)
struct aclstate *as = vap->iv_as;
struct acl *acl;
struct ieee80211req_maclist *ap;
- int error, space, i;
+ int error;
+ uint32_t i, space;
switch (ireq->i_val) {
case IEEE80211_MACCMD_POLICY:
OpenPOWER on IntegriCloud