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

staging: rtl8192u: Adding a blank line after declarations

This patch fixes the checkpatch warning by adding a blank line after
declarations.
WARNING: Missing a blank line after declarations

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

simran singhal and committed by
Greg Kroah-Hartman
360daa82 1393f1bc

+8
+8
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
··· 146 146 static void enqueue_mgmt(struct ieee80211_device *ieee, struct sk_buff *skb) 147 147 { 148 148 int nh; 149 + 149 150 nh = (ieee->mgmt_queue_head +1) % MGMT_QUEUE_NUM; 150 151 151 152 /* ··· 227 226 (struct rtl_80211_hdr_3addr *) skb->data; 228 227 229 228 cb_desc *tcb_desc = (cb_desc *)(skb->cb + 8); 229 + 230 230 spin_lock_irqsave(&ieee->lock, flags); 231 231 232 232 /* called with 2nd param 0, no mgmt lock required */ ··· 366 364 static void ieee80211_send_beacon(struct ieee80211_device *ieee) 367 365 { 368 366 struct sk_buff *skb; 367 + 369 368 if(!ieee->ieee_up) 370 369 return; 371 370 //unsigned long flags; ··· 430 427 { 431 428 short ch = 0; 432 429 u8 channel_map[MAX_CHANNEL_NUMBER+1]; 430 + 433 431 memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1); 434 432 mutex_lock(&ieee->scan_mutex); 435 433 ··· 497 493 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, softmac_scan_wq); 498 494 static short watchdog; 499 495 u8 channel_map[MAX_CHANNEL_NUMBER+1]; 496 + 500 497 memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1); 501 498 if(!ieee->ieee_up) 502 499 return; ··· 2628 2623 { 2629 2624 short ch = 0; 2630 2625 int i = 0; 2626 + 2631 2627 if (ieee->proto_started) 2632 2628 return; 2633 2629 ··· 3133 3127 { 3134 3128 struct ieee80211_network *beacon = &ieee->current_network; 3135 3129 struct sk_buff *skb; 3130 + 3136 3131 skb = ieee80211_disassociate_skb(beacon, ieee, asRsn); 3137 3132 if (skb) { 3138 3133 softmac_mgmt_xmit(skb, ieee); ··· 3201 3194 void notify_wx_assoc_event(struct ieee80211_device *ieee) 3202 3195 { 3203 3196 union iwreq_data wrqu; 3197 + 3204 3198 wrqu.ap_addr.sa_family = ARPHRD_ETHER; 3205 3199 if (ieee->state == IEEE80211_LINKED) 3206 3200 memcpy(wrqu.ap_addr.sa_data, ieee->current_network.bssid, ETH_ALEN);