aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-07 09:33:38 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-07 13:25:06 (GMT)
commitf97e3ce473d90bec34a60da5f610c00439b9c84d (patch)
tree3101cd25098cb36b01227047c7d07831e6b47f0d /src/drivers/driver_bsd.c
parent32d6463fe7a01f1f87a3771e7ce13cb46b556192 (diff)
downloadhostap-f97e3ce473d90bec34a60da5f610c00439b9c84d.zip
hostap-f97e3ce473d90bec34a60da5f610c00439b9c84d.tar.gz
hostap-f97e3ce473d90bec34a60da5f610c00439b9c84d.tar.bz2
drivers: Use unsigned arguments for sta_set_flags()
Since BIT() is now returning unsigned int, these functions need to match that to avoid compiler warnings. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/drivers/driver_bsd.c')
-rw-r--r--src/drivers/driver_bsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 9ac87b4..bab1f03 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -894,7 +894,8 @@ bsd_commit(void *priv)
static int
bsd_set_sta_authorized(void *priv, const u8 *addr,
- int total_flags, int flags_or, int flags_and)
+ unsigned int total_flags, unsigned int flags_or,
+ unsigned int flags_and)
{
int authorized = -1;