staging: rtl8188eu: change type of a struct field
authorMichael Straube <straube.linux@gmail.com>
Sat, 27 Oct 2018 20:28:47 +0000 (22:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:41:00 +0000 (12:41 +0100)
The field enable of struct recv_reorder_ctrl is only used for boolean
values, so change the type from u8 to bool.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_recv.h

index 54b7ba36729355f181ecd05f655fe9cfe65cd414..8fc500496f922e071eb74abe8458c3cbdc94f8f0 100644 (file)
@@ -27,7 +27,7 @@
 /* for Rx reordering buffer control */
 struct recv_reorder_ctrl {
        struct adapter  *padapter;
-       u8 enable;
+       bool enable;
        u16 indicate_seq;/* wstart_b, init_value=0xffff */
        u16 wend_b;
        u8 wsize_b;