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>
This commit is contained in:
parent
32d6463fe7
commit
f97e3ce473
5 changed files with 11 additions and 6 deletions
|
@ -4249,8 +4249,9 @@ static int wpa_driver_nl80211_hapd_send_eapol(
|
|||
|
||||
|
||||
static int wpa_driver_nl80211_sta_set_flags(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)
|
||||
{
|
||||
struct i802_bss *bss = priv;
|
||||
struct nl_msg *msg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue