Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8188eu/core: fixed code indentation warning as reported by checkpatch.pl

fixed code indentation warning as detected with checkpatch.pl.
Replaced spaces with tabs.

Signed-off-by: Mayank Bareja <mbareja@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Mayank Bareja and committed by
Greg Kroah-Hartman
4e0fa71c 66e6d70d

+28 -28
+2 -2
drivers/staging/rtl8188eu/core/rtw_debug.c
··· 919 919 /* 5G */ 920 920 if (pmlmeext->channel_set[i].ChannelNum >= 36 && 921 921 pmlmeext->channel_set[i].ChannelNum < 140) { 922 - /* Find primary channel */ 922 + /* Find primary channel */ 923 923 if (((pmlmeext->channel_set[i].ChannelNum - 36) % 8 == 0) && 924 924 (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_5G].rx_count)) { 925 925 index_5G = i; ··· 929 929 930 930 if (pmlmeext->channel_set[i].ChannelNum >= 149 && 931 931 pmlmeext->channel_set[i].ChannelNum < 165) { 932 - /* find primary channel */ 932 + /* find primary channel */ 933 933 if (((pmlmeext->channel_set[i].ChannelNum - 149) % 8 == 0) && 934 934 (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_5G].rx_count)) { 935 935 index_5G = i;
+1 -1
drivers/staging/rtl8188eu/core/rtw_efuse.c
··· 551 551 bContinual = false; 552 552 } 553 553 } else if (ReadState & PG_STATE_DATA) { 554 - /* Data section Read ------------- */ 554 + /* Data section Read ------------- */ 555 555 efuse_WordEnableDataRead(hworden, tmpdata, data); 556 556 efuse_addr = efuse_addr + (word_cnts*2)+1; 557 557 ReadState = PG_STATE_HEADER;
+2 -2
drivers/staging/rtl8188eu/core/rtw_mlme.c
··· 693 693 pmlmepriv->to_join = false; 694 694 s_ret = rtw_select_and_join_from_scanned_queue(pmlmepriv); 695 695 if (_SUCCESS == s_ret) { 696 - mod_timer(&pmlmepriv->assoc_timer, 697 - jiffies + msecs_to_jiffies(MAX_JOIN_TIMEOUT)); 696 + mod_timer(&pmlmepriv->assoc_timer, 697 + jiffies + msecs_to_jiffies(MAX_JOIN_TIMEOUT)); 698 698 } else if (s_ret == 2) { /* there is no need to wait for join */ 699 699 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); 700 700 rtw_indicate_connect(adapter);
+4 -4
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
··· 1096 1096 1097 1097 /* Check if the AP's supported rates are also supported by STA. */ 1098 1098 for (j = 0; j < sta_bssrate_len; j++) { 1099 - /* Avoid the proprietary data rate (22Mbps) of Handlink WSG-4000 AP */ 1099 + /* Avoid the proprietary data rate (22Mbps) of Handlink WSG-4000 AP */ 1100 1100 if ((pmlmeinfo->network.SupportedRates[i]|IEEE80211_BASIC_RATE_MASK) 1101 1101 == (sta_bssrate[j]|IEEE80211_BASIC_RATE_MASK)) 1102 1102 break; ··· 2932 2932 2933 2933 if (seq == 2) { 2934 2934 if (pmlmeinfo->auth_algo == dot11AuthAlgrthm_Shared) { 2935 - /* legendary shared system */ 2935 + /* legendary shared system */ 2936 2936 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, (int *)&len, 2937 2937 pkt_len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_); 2938 2938 ··· 4155 4155 u8 bc_addr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; 4156 4156 u8 *pframe = precv_frame->rx_data; 4157 4157 4158 - if (ptable->func) { 4159 - /* receive the frames that ra(a1) is my address or ra(a1) is bc address. */ 4158 + if (ptable->func) { 4159 + /* receive the frames that ra(a1) is my address or ra(a1) is bc address. */ 4160 4160 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && 4161 4161 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) 4162 4162 return;
+1 -1
drivers/staging/rtl8188eu/core/rtw_security.c
··· 1330 1330 bitwise_xor(aes_out, &pframe[payload_index], chain_buffer); 1331 1331 1332 1332 for (j = 0; j < 16; j++) 1333 - pframe[payload_index++] = chain_buffer[j]; 1333 + pframe[payload_index++] = chain_buffer[j]; 1334 1334 } 1335 1335 1336 1336 if (payload_remainder > 0) { /* If there is a short final block, then pad it,*/
+18 -18
drivers/staging/rtl8188eu/core/rtw_xmit.c
··· 868 868 /* check if enable ampdu */ 869 869 if (pattrib->ht_en && psta->htpriv.ampdu_enable) { 870 870 if (psta->htpriv.agg_enable_bitmap & BIT(pattrib->priority)) 871 - pattrib->ampdu_en = true; 871 + pattrib->ampdu_en = true; 872 872 } 873 873 874 874 /* re-check if enable ampdu by BA_starting_seqctrl */ ··· 1026 1026 /* adding icv, if necessary... */ 1027 1027 if (pattrib->iv_len) { 1028 1028 switch (pattrib->encrypt) { 1029 - case _WEP40_: 1030 - case _WEP104_: 1031 - WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); 1032 - break; 1033 - case _TKIP_: 1034 - if (bmcst) 1035 - TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); 1036 - else 1037 - TKIP_IV(pattrib->iv, psta->dot11txpn, 0); 1038 - break; 1039 - case _AES_: 1040 - if (bmcst) 1041 - AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); 1042 - else 1043 - AES_IV(pattrib->iv, psta->dot11txpn, 0); 1044 - break; 1029 + case _WEP40_: 1030 + case _WEP104_: 1031 + WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); 1032 + break; 1033 + case _TKIP_: 1034 + if (bmcst) 1035 + TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); 1036 + else 1037 + TKIP_IV(pattrib->iv, psta->dot11txpn, 0); 1038 + break; 1039 + case _AES_: 1040 + if (bmcst) 1041 + AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); 1042 + else 1043 + AES_IV(pattrib->iv, psta->dot11txpn, 0); 1044 + break; 1045 1045 } 1046 1046 1047 1047 memcpy(pframe, pattrib->iv, pattrib->iv_len); ··· 1769 1769 int bmcst = IS_MCAST(pattrib->ra); 1770 1770 1771 1771 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == false) 1772 - return ret; 1772 + return ret; 1773 1773 1774 1774 if (pattrib->psta) 1775 1775 psta = pattrib->psta;