Commit 22faca21 authored by Joe Borg's avatar Joe Borg Committed by Greg Kroah-Hartman

Staging: rtl8723au: core: rtw_ap: checkpatch.pl fixes

Fixing styling errors found with checkpatch.pl. These include:
"(foo*)" should be "(foo *)"
space required after that ';'

...totalling 5 styling errors.
Signed-off-by: default avatarJoe Borg <joe@josephb.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 936601e5
...@@ -456,8 +456,8 @@ static void update_bmc_sta(struct rtw_adapter *padapter) ...@@ -456,8 +456,8 @@ static void update_bmc_sta(struct rtw_adapter *padapter)
sizeof(struct stainfo_stats)); sizeof(struct stainfo_stats));
/* prepare for add_RATid23a */ /* prepare for add_RATid23a */
supportRateNum = rtw_get_rateset_len23a((u8*)&pcur_network->SupportedRates); supportRateNum = rtw_get_rateset_len23a((u8 *)&pcur_network->SupportedRates);
network_type = rtw_check_network_type23a((u8*)&pcur_network->SupportedRates, supportRateNum, 1); network_type = rtw_check_network_type23a((u8 *)&pcur_network->SupportedRates, supportRateNum, 1);
memcpy(psta->bssrateset, &pcur_network->SupportedRates, supportRateNum); memcpy(psta->bssrateset, &pcur_network->SupportedRates, supportRateNum);
psta->bssratelen = supportRateNum; psta->bssratelen = supportRateNum;
...@@ -897,7 +897,7 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter, ...@@ -897,7 +897,7 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter,
pairwise_cipher = 0; pairwise_cipher = 0;
psecuritypriv->wpa_group_cipher = 0; psecuritypriv->wpa_group_cipher = 0;
psecuritypriv->wpa_pairwise_cipher = 0; psecuritypriv->wpa_pairwise_cipher = 0;
for (p = ie; ;p += (ie_len + 2)) { for (p = ie; ; p += (ie_len + 2)) {
p = rtw_get_ie23a(p, WLAN_EID_VENDOR_SPECIFIC, &ie_len, p = rtw_get_ie23a(p, WLAN_EID_VENDOR_SPECIFIC, &ie_len,
pbss_network->IELength - (ie_len + 2)); pbss_network->IELength - (ie_len + 2));
if ((p) && (!memcmp(p+2, RTW_WPA_OUI23A_TYPE, 4))) { if ((p) && (!memcmp(p+2, RTW_WPA_OUI23A_TYPE, 4))) {
...@@ -924,7 +924,7 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter, ...@@ -924,7 +924,7 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter,
ie_len = 0; ie_len = 0;
pmlmepriv->qos_option = 0; pmlmepriv->qos_option = 0;
if (pregistrypriv->wmm_enable) { if (pregistrypriv->wmm_enable) {
for (p = ie; ;p += (ie_len + 2)) { for (p = ie; ; p += (ie_len + 2)) {
p = rtw_get_ie23a(p, WLAN_EID_VENDOR_SPECIFIC, &ie_len, p = rtw_get_ie23a(p, WLAN_EID_VENDOR_SPECIFIC, &ie_len,
(pbss_network->IELength - (pbss_network->IELength -
(ie_len + 2))); (ie_len + 2)));
...@@ -1204,7 +1204,7 @@ static void update_bcn_p2p_ie(struct rtw_adapter *padapter) ...@@ -1204,7 +1204,7 @@ static void update_bcn_p2p_ie(struct rtw_adapter *padapter)
{ {
} }
static void update_bcn_vendor_spec_ie(struct rtw_adapter *padapter, u8*oui) static void update_bcn_vendor_spec_ie(struct rtw_adapter *padapter, u8 *oui)
{ {
DBG_8723A("%s\n", __func__); DBG_8723A("%s\n", __func__);
......
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