aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_ioctl.h
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2011-06-16 09:37:20 +0000
committerKevin Lo <kevlo@FreeBSD.org>2011-06-16 09:37:20 +0000
commitdb9ff08bb8c52b40a1e649f20649d6ffc1e6719e (patch)
tree0fcb83a98a38ba202ebe1b1dc5e7536608927c75 /sys/net80211/ieee80211_ioctl.h
parente0455434b4f7568ba25a07e2d64b94b70a50150b (diff)
downloadsrc-db9ff08bb8c52b40a1e649f20649d6ffc1e6719e.tar.gz
src-db9ff08bb8c52b40a1e649f20649d6ffc1e6719e.zip
Change i_len in ieee80211req to be unsigned and fix other signed/unsigned
issues. Reviewed by: bschmidt Obtained from: NetBSD
Notes
Notes: svn path=/head/; revision=223145
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.h')
-rw-r--r--sys/net80211/ieee80211_ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h
index 7215a5edd9f9..cad55760ce1e 100644
--- a/sys/net80211/ieee80211_ioctl.h
+++ b/sys/net80211/ieee80211_ioctl.h
@@ -578,7 +578,7 @@ struct ieee80211req {
char i_name[IFNAMSIZ]; /* if_name, e.g. "wi0" */
uint16_t i_type; /* req type */
int16_t i_val; /* Index or simple value */
- int16_t i_len; /* Index or simple value */
+ uint16_t i_len; /* Index or simple value */
void *i_data; /* Extra data */
};
#define SIOCS80211 _IOW('i', 234, struct ieee80211req)