diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-08-21 18:15:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-27 19:24:30 +0200 |
commit | 56f6e5a7e4d756162ad4af471f75c0074a0f505d (patch) | |
tree | 992517a4e9c4d4a09e662850b69a08dda248a89c /drivers/staging/rtl8192u | |
parent | f9406665ffe70043dba7728b1b7d969d19bd90c7 (diff) | |
download | linux-56f6e5a7e4d756162ad4af471f75c0074a0f505d.tar.bz2 |
staging:rtl8192u: Rename ShortData - Style
Rename the ShortData member variable to short_data. This clears a
checkpatch issue with CamelCase naming.
This is a coding style change which should not impact runtime
code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h index 446de58f1849..ec9bbddca3de 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h @@ -23,7 +23,7 @@ struct ieee80211_ADDBA_Req{ */ //Is this need?I put here just to make it easier to define structure BA_RECORD //WB union sequence_control { - u16 ShortData; + u16 short_data; struct { u16 FragNum:4; u16 SeqNum:12; diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c index c1fe42e0893c..6a95b47aa595 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c @@ -93,7 +93,7 @@ void ResetBaEntry(PBA_RECORD pBA) pBA->BaParamSet.shortData = 0; pBA->BaTimeoutValue = 0; pBA->DialogToken = 0; - pBA->BaStartSeqCtrl.ShortData = 0; + pBA->BaStartSeqCtrl.short_data = 0; } //These functions need porting here or not? /******************************************************************************************************************************* |