Commit 945cd472 authored by Scott Matheina's avatar Scott Matheina Committed by Greg Kroah-Hartman

staging:rtl8188eu:core Fixes Alignment should match opening brace

Fixed style issue: Alignment should match open brace
Signed-off-by: default avatarScott Matheina <scott@matheina.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 015ae428
...@@ -94,9 +94,8 @@ static void update_BCNTIM(struct adapter *padapter) ...@@ -94,9 +94,8 @@ static void update_BCNTIM(struct adapter *padapter)
offset += pnetwork_mlmeext->Ssid.SsidLength + 2; offset += pnetwork_mlmeext->Ssid.SsidLength + 2;
/* get supported rates len */ /* get supported rates len */
p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, _SUPPORTEDRATES_IE_,
_SUPPORTEDRATES_IE_, &tmp_len, &tmp_len, (pnetwork_mlmeext->IELength -
(pnetwork_mlmeext->IELength -
_BEACON_IE_OFFSET_)); _BEACON_IE_OFFSET_));
if (p) if (p)
offset += tmp_len+2; offset += tmp_len+2;
...@@ -116,13 +115,12 @@ static void update_BCNTIM(struct adapter *padapter) ...@@ -116,13 +115,12 @@ static void update_BCNTIM(struct adapter *padapter)
if (remainder_ielen > 0) { if (remainder_ielen > 0) {
pbackup_remainder_ie = rtw_malloc(remainder_ielen); pbackup_remainder_ie = rtw_malloc(remainder_ielen);
if (pbackup_remainder_ie && premainder_ie) if (pbackup_remainder_ie && premainder_ie)
memcpy(pbackup_remainder_ie, memcpy(pbackup_remainder_ie, premainder_ie,
premainder_ie, remainder_ielen); remainder_ielen);
} }
*dst_ie++ = _TIM_IE_; *dst_ie++ = _TIM_IE_;
if ((pstapriv->tim_bitmap&0xff00) && if ((pstapriv->tim_bitmap&0xff00) && (pstapriv->tim_bitmap&0x00fc))
(pstapriv->tim_bitmap&0x00fc))
tim_ielen = 5; tim_ielen = 5;
else else
tim_ielen = 4; tim_ielen = 4;
...@@ -201,8 +199,8 @@ void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork, ...@@ -201,8 +199,8 @@ void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork,
if (remainder_ielen > 0) { if (remainder_ielen > 0) {
pbackup_remainder_ie = rtw_malloc(remainder_ielen); pbackup_remainder_ie = rtw_malloc(remainder_ielen);
if (pbackup_remainder_ie && premainder_ie) if (pbackup_remainder_ie && premainder_ie)
memcpy(pbackup_remainder_ie, memcpy(pbackup_remainder_ie, premainder_ie,
premainder_ie, remainder_ielen); remainder_ielen);
} }
*dst_ie++ = index; *dst_ie++ = index;
...@@ -247,8 +245,8 @@ void rtw_remove_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork, ...@@ -247,8 +245,8 @@ void rtw_remove_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork,
if (remainder_ielen > 0) { if (remainder_ielen > 0) {
pbackup_remainder_ie = rtw_malloc(remainder_ielen); pbackup_remainder_ie = rtw_malloc(remainder_ielen);
if (pbackup_remainder_ie && premainder_ie) if (pbackup_remainder_ie && premainder_ie)
memcpy(pbackup_remainder_ie, memcpy(pbackup_remainder_ie, premainder_ie,
premainder_ie, remainder_ielen); remainder_ielen);
} }
/* copy remainder IE */ /* copy remainder IE */
...@@ -361,8 +359,8 @@ void expire_timeout_chk(struct adapter *padapter) ...@@ -361,8 +359,8 @@ void expire_timeout_chk(struct adapter *padapter)
* for this station * for this station
*/ */
pstapriv->tim_bitmap |= BIT(psta->aid); pstapriv->tim_bitmap |= BIT(psta->aid);
update_beacon(padapter, _TIM_IE_, update_beacon(padapter, _TIM_IE_, NULL,
NULL, false); false);
if (!pmlmeext->active_keep_alive_check) if (!pmlmeext->active_keep_alive_check)
continue; continue;
......
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