From: Xenia Ragiadakou Date: Thu, 23 May 2013 02:14:47 +0000 (+0300) Subject: rtl8192u: add space after '}' in r8192U_core.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=972ff92fc564ab4db6b6678e8b9acd88f66ef75f;p=deliverable%2Flinux.git rtl8192u: add space after '}' in r8192U_core.c This patch fixes the following checkpatch error: ERROR: space required after that close brace '}' Signed-off-by: Xenia Ragiadakou Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index a1eedc004ac8..f790292acf33 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -169,7 +169,7 @@ static struct usb_driver rtl8192_usb_driver = { typedef struct _CHANNEL_LIST { u8 Channel[32]; u8 Len; -}CHANNEL_LIST, *PCHANNEL_LIST; +} CHANNEL_LIST, *PCHANNEL_LIST; static CHANNEL_LIST ChannelPlan[] = { {{1,2,3,4,5,6,7,8,9,10,11,36,40,44,48,52,56,60,64,149,153,157,161,165},24}, //FCC @@ -803,7 +803,7 @@ void rtl8192_update_msr(struct net_device *dev) else if (priv->ieee80211->iw_mode == IW_MODE_MASTER) msr |= (MSR_LINK_MASTER<pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz){ ratr_value |= 0x80000000; - }else if (!ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI20MHz){ + } else if (!ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI20MHz){ ratr_value |= 0x80000000; } write_nic_dword(dev, RATR0+rate_index*4, ratr_value); @@ -3714,7 +3714,7 @@ CamRestoreAllEntry(struct net_device *dev) {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}, {0x00, 0x00, 0x00, 0x00, 0x00, 0x02}, - {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}}; + {0x00, 0x00, 0x00, 0x00, 0x00, 0x03} }; static u8 CAM_CONST_BROAD[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; @@ -4944,7 +4944,7 @@ static void rtl8192_query_rxphystatus( if (pstats->RxPWDBAll > 40) { sq = 100; - }else + } else { sq = pcck_buf->sq_rpt; @@ -5295,7 +5295,7 @@ void query_rxdesc_status(struct sk_buff *skb, struct ieee80211_rx_stats *stats, stats->bHwError = 1; stats->rate = MGN_1M; //Set 1M rate by default - }else + } else { stats->rate = ret_rate; } @@ -5423,9 +5423,9 @@ void rtl8192_rx_nomal(struct sk_buff *skb) unicast_packet = false; if (is_broadcast_ether_addr(ieee80211_hdr->addr1)) { //TODO - }else if (is_multicast_ether_addr(ieee80211_hdr->addr1)){ + } else if (is_multicast_ether_addr(ieee80211_hdr->addr1)){ //TODO - }else { + } else { /* unicast packet */ unicast_packet = true; } @@ -5483,9 +5483,9 @@ void rtl8192_rx_nomal(struct sk_buff *skb) unicast_packet = false; if (is_broadcast_ether_addr(ieee80211_hdr->addr1)) { //TODO - }else if (is_multicast_ether_addr(ieee80211_hdr->addr1)){ + } else if (is_multicast_ether_addr(ieee80211_hdr->addr1)){ //TODO - }else { + } else { /* unicast packet */ unicast_packet = true; }