]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: core: rtw_cmd: Add blank line after declarations
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>
Wed, 8 Oct 2014 22:22:10 +0000 (01:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:27 +0000 (10:29 +0800)
The following patch fixes the checkpatch.pl warning:

drivers/staging/rtl8723au/core/rtw_ap.c Warning: Missing a blank line after declarations

Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c

index 4eaa50297b95cc2e2b8c3209d166dfa4792f6285..d2d7edf38fc6e7f288bb45964f426ed9af1b9c48 100644 (file)
@@ -359,6 +359,7 @@ int rtw_sitesurvey_cmd23a(struct rtw_adapter *padapter,
        /* prepare ssid list */
        if (ssid) {
                int i;
+
                for (i = 0; i < ssid_num && i < RTW_SSID_SCAN_AMOUNT; i++) {
                        if (ssid[i].ssid_len) {
                                memcpy(&psurveyPara->ssid[i], &ssid[i],
@@ -371,6 +372,7 @@ int rtw_sitesurvey_cmd23a(struct rtw_adapter *padapter,
        /* prepare channel list */
        if (ch) {
                int i;
+
                for (i = 0; i < ch_num && i < RTW_CHANNEL_SCAN_AMOUNT; i++) {
                        if (ch[i].hw_value &&
                            !(ch[i].flags & IEEE80211_CHAN_DISABLED)) {
@@ -719,6 +721,7 @@ int rtw_setstakey_cmd23a(struct rtw_adapter *padapter, u8 *psta, u8 unicast_key)
                memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16);
        } else {
                int idx = psecuritypriv->dot118021XGrpKeyid;
+
                memcpy(&psetstakey_para->key,
                       &psecuritypriv->dot118021XGrpKey[idx].skey, 16);
        }