diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-04-27 11:25:22 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-28 11:47:26 +0200 |
commit | 8fb8e05ccafaa0e09fd93d9bffd0b4037cc36317 (patch) | |
tree | a4c0b020e15f72f82757f0f0da6c8ff1c4b6f42d /drivers/staging/ks7010/ks_wlan.h | |
parent | 27476f01d311ebbb4847f32f8258f2be25d8aea6 (diff) |
staging: ks7010: make abbreviation mgmt uniform
Driver currently uses abbreviations 'mgt' and 'mngmt' for
'management'. Also 'power' is sometimes abbreviated to 'pow' and other
times not. It makes the code easier to read and easier to modify if
one abbreviation is used throughout the driver. 'mgmt' is widely
accepted as an abbreviation of 'management'. 'power' can be spelled
out in full, the extra two characters aids readability without an
excessive cost.
Make abbreviation of 'management' uniform across the driver, function
names, preprocessor defined constants, and enumeration types.
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/ks_wlan.h')
-rw-r--r-- | drivers/staging/ks7010/ks_wlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index a2465391cc94..cd4f56ddbea8 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -58,7 +58,7 @@ struct ks_wlan_parameter { u8 body[32 + 1]; } ssid; /* SSID */ u8 preamble; /* Preamble */ - u8 powermgt; /* PowerManagementMode */ + u8 power_mgmt; u32 scan_type; /* AP List Scan Type */ #define BEACON_LOST_COUNT_MIN 0 #define BEACON_LOST_COUNT_MAX 65535 |