staging:rtl8192u: Rename ShortData - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Tue, 21 Aug 2018 17:15:23 +0000 (18:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:24:30 +0000 (19:24 +0200)
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>
drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c

index 446de58f1849d71f4b3eb0d4a385a76545530736..ec9bbddca3de2aa0f5bb7c5121533c634f93ede7 100644 (file)
@@ -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;
index c1fe42e0893c467ec57dd937aba7c25532af9e81..6a95b47aa595c3922829c40dae3a212c1bd7dee1 100644 (file)
@@ -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?
 /*******************************************************************************************************************************