Commit fbc6d797 authored by Yeliz Taneroglu's avatar Yeliz Taneroglu Committed by Greg Kroah-Hartman

staging: rtl8723au: core: rtw_cmd: Add blank line after declarations

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: default avatarYeliz Taneroglu <yeliztaneroglu@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9fc9cf2
...@@ -359,6 +359,7 @@ int rtw_sitesurvey_cmd23a(struct rtw_adapter *padapter, ...@@ -359,6 +359,7 @@ int rtw_sitesurvey_cmd23a(struct rtw_adapter *padapter,
/* prepare ssid list */ /* prepare ssid list */
if (ssid) { if (ssid) {
int i; int i;
for (i = 0; i < ssid_num && i < RTW_SSID_SCAN_AMOUNT; i++) { for (i = 0; i < ssid_num && i < RTW_SSID_SCAN_AMOUNT; i++) {
if (ssid[i].ssid_len) { if (ssid[i].ssid_len) {
memcpy(&psurveyPara->ssid[i], &ssid[i], memcpy(&psurveyPara->ssid[i], &ssid[i],
...@@ -371,6 +372,7 @@ int rtw_sitesurvey_cmd23a(struct rtw_adapter *padapter, ...@@ -371,6 +372,7 @@ int rtw_sitesurvey_cmd23a(struct rtw_adapter *padapter,
/* prepare channel list */ /* prepare channel list */
if (ch) { if (ch) {
int i; int i;
for (i = 0; i < ch_num && i < RTW_CHANNEL_SCAN_AMOUNT; i++) { for (i = 0; i < ch_num && i < RTW_CHANNEL_SCAN_AMOUNT; i++) {
if (ch[i].hw_value && if (ch[i].hw_value &&
!(ch[i].flags & IEEE80211_CHAN_DISABLED)) { !(ch[i].flags & IEEE80211_CHAN_DISABLED)) {
...@@ -719,6 +721,7 @@ int rtw_setstakey_cmd23a(struct rtw_adapter *padapter, u8 *psta, u8 unicast_key) ...@@ -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); memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16);
} else { } else {
int idx = psecuritypriv->dot118021XGrpKeyid; int idx = psecuritypriv->dot118021XGrpKeyid;
memcpy(&psetstakey_para->key, memcpy(&psetstakey_para->key,
&psecuritypriv->dot118021XGrpKey[idx].skey, 16); &psecuritypriv->dot118021XGrpKey[idx].skey, 16);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment