OSDN Git Service

staging:rtl8192u: Refactor member variable enabled - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Tue, 28 Aug 2018 18:55:34 +0000 (19:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 08:37:54 +0000 (10:37 +0200)
commitd0679000c49867a398617581f49ce457c6a4c915
treedc41c356c042022fb77051b34bf4cfcf6029eac8
parent2e9e6dd41cc63763ab06a23808290cfca24404fb
staging:rtl8192u: Refactor member variable enabled - Style

The structure rt_dot11d_info contains a memeber variable 'enabled',
which causes a checkpatch issue as it is declared as being of type
bool. The type of the variable has been changed to a 'u8', to clear
the issue.

Additionally to aid searching for the member variable in code it
has been renamed from 'enabled' to 'dot11d_enabled'.

These are purely coding style changes which should not impact runtime
code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/dot11d.c
drivers/staging/rtl8192u/ieee80211/dot11d.h
drivers/staging/rtl8192u/r8192U_core.c