Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b62ce02e authored by Július Milan's avatar Július Milan Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: fix registration frame size



Fixes the following sparse warnings:

drivers/staging/wilc1000/host_interface.c:2360:30: warning:
 incorrect type in assignment (different base types)
    expected restricted __le32 [addressable] [assigned] [usertype] frame_type
    got restricted __le16 [usertype] <noident>

Fixes: 147ccfd4 ("staging: wilc1000: handle mgmt_frame_register ops from cfg82011 context")
Signed-off-by: default avatarJúlius Milan <jmilan.dev@gmail.com>
Reviewed-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c7fc5cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ struct wilc_op_mode {
struct wilc_reg_frame {
	bool reg;
	u8 reg_id;
	__le32 frame_type;
	__le16 frame_type;
} __packed;

struct wilc_drv_handler {