staging: rtl8188eu: Fixed 'Missing a blank line after declarations' warnings.
Fixed checkpatch.pl 'Missing a blank line after declarations' in rtl8188eu module. Signed-off-by: Yamanappagouda Patil <goudapatilk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ce02320224
commit
37ad17a4b4
@ -134,6 +134,7 @@ static char *translate_scan(struct adapter *padapter,
|
||||
if (p && ht_ielen > 0) {
|
||||
struct ieee80211_ht_cap *pht_capie;
|
||||
ht_cap = true;
|
||||
|
||||
pht_capie = (struct ieee80211_ht_cap *)(p + 2);
|
||||
memcpy(&mcs_rate, pht_capie->mcs.rx_mask, 2);
|
||||
bw_40MHz = !!(le16_to_cpu(pht_capie->cap_info) &
|
||||
@ -285,8 +286,8 @@ static char *translate_scan(struct adapter *padapter,
|
||||
uint cnt = 0, total_ielen;
|
||||
u8 *wpsie_ptr = NULL;
|
||||
uint wps_ielen = 0;
|
||||
|
||||
u8 *ie_ptr = pnetwork->network.IEs + _FIXED_IE_LENGTH_;
|
||||
|
||||
total_ielen = pnetwork->network.IELength - _FIXED_IE_LENGTH_;
|
||||
|
||||
while (cnt < total_ielen) {
|
||||
@ -523,6 +524,7 @@ static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ie
|
||||
/* dump */
|
||||
{
|
||||
int i;
|
||||
|
||||
DBG_88E("\n wpa_ie(length:%d):\n", ielen);
|
||||
for (i = 0; i < ielen; i += 8)
|
||||
DBG_88E("0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x\n", buf[i], buf[i+1], buf[i+2], buf[i+3], buf[i+4], buf[i+5], buf[i+6], buf[i+7]);
|
||||
@ -1084,6 +1086,7 @@ static int rtw_wx_set_scan(struct net_device *dev, struct iw_request_info *a,
|
||||
struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev);
|
||||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||
struct ndis_802_11_ssid ssid[RTW_SSID_SCAN_AMOUNT];
|
||||
|
||||
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_wx_set_scan\n"));
|
||||
|
||||
if (padapter->registrypriv.mp_mode == 1) {
|
||||
@ -1225,6 +1228,7 @@ static int rtw_wx_get_scan(struct net_device *dev, struct iw_request_info *a,
|
||||
u32 cnt = 0;
|
||||
u32 wait_for_surveydone;
|
||||
int wait_status;
|
||||
|
||||
RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_wx_get_scan\n"));
|
||||
RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_info_, (" Start of Query SIOCGIWSCAN .\n"));
|
||||
|
||||
@ -1613,6 +1617,7 @@ static int rtw_wx_set_enc(struct net_device *dev,
|
||||
struct iw_point *erq = &(wrqu->encoding);
|
||||
struct adapter *padapter = (struct adapter *)rtw_netdev_priv(dev);
|
||||
struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv;
|
||||
|
||||
DBG_88E("+rtw_wx_set_enc, flags = 0x%x\n", erq->flags);
|
||||
|
||||
memset(&wep, 0, sizeof(struct ndis_802_11_wep));
|
||||
|
@ -41,8 +41,8 @@ u8 *_rtw_malloc(u32 sz)
|
||||
void *rtw_malloc2d(int h, int w, int size)
|
||||
{
|
||||
int j;
|
||||
|
||||
void **a = kzalloc(h * sizeof(void *) + h * w * size, GFP_KERNEL);
|
||||
|
||||
if (!a)
|
||||
goto out;
|
||||
|
||||
|
@ -73,6 +73,7 @@ static int g_wifi_on = true;
|
||||
int rtw_android_cmdstr_to_num(char *cmdstr)
|
||||
{
|
||||
int cmd_num;
|
||||
|
||||
for (cmd_num = 0; cmd_num < ANDROID_WIFI_CMD_MAX; cmd_num++)
|
||||
if (0 == strncasecmp(cmdstr, android_wifi_cmd_str[cmd_num],
|
||||
strlen(android_wifi_cmd_str[cmd_num])))
|
||||
|
@ -83,6 +83,7 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
|
||||
|
||||
for (i = 0; i < piface_desc->bNumEndpoints; i++) {
|
||||
int ep_num;
|
||||
|
||||
pendp_desc = &phost_iface->endpoint[i].desc;
|
||||
|
||||
ep_num = usb_endpoint_num(pendp_desc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user