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
|
@ -2349,7 +2349,8 @@ struct wpa_driver_ops {
|
|||
* Returns: 0 on success, -1 on failure
|
||||
*/
|
||||
int (*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);
|
||||
|
||||
/**
|
||||
* set_tx_queue_params - Set TX queue parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue