staging: vt6655: Add missing blank lines after declarations
authorGuillaume Clement <gclement@baobob.org>
Thu, 24 Jul 2014 23:06:16 +0000 (01:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:21:27 +0000 (11:21 -0700)
This patch fixes the missing blank lines after declarations in vt6655
reported by checkpatch.

Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 files changed:
drivers/staging/vt6655/80211mgr.c
drivers/staging/vt6655/baseband.c
drivers/staging/vt6655/bssdb.c
drivers/staging/vt6655/card.c
drivers/staging/vt6655/device.h
drivers/staging/vt6655/device_main.c
drivers/staging/vt6655/dpc.c
drivers/staging/vt6655/iwctl.c
drivers/staging/vt6655/rc4.c
drivers/staging/vt6655/rf.c
drivers/staging/vt6655/rxtx.c
drivers/staging/vt6655/vntwifi.c
drivers/staging/vt6655/wcmd.c
drivers/staging/vt6655/wmgr.c
drivers/staging/vt6655/wpa.c
drivers/staging/vt6655/wpactl.c

index acdbbbd08bce43848ea3005a5d682fbfeb5c7ad2..96b0d61623e4ec706c761c339fdf795ffcd37c48 100644 (file)
@@ -546,6 +546,7 @@ vMgrDecodeReassocRequest(
 )
 {
        PWLAN_IE   pItem;
+
        pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
 
        /* Fixed Fields */
index c96bc7adb5b7358c5781b3dad96c1068387ca9b5..f212b88c8cecae650fa502523b062a34bfae6028 100644 (file)
@@ -2289,6 +2289,7 @@ void BBvReadAllRegs(void __iomem *dwIoBase, unsigned char *pbyBBRegs)
 {
        int  ii;
        unsigned char byBase = 1;
+
        for (ii = 0; ii < BB_MAX_CONTEXT_SIZE; ii++) {
                BBbReadEmbedded(dwIoBase, (unsigned char)(ii*byBase), pbyBBRegs);
                pbyBBRegs += byBase;
index 5f9fd2b20d1370818011fea83313e1322178c7d5..58f85e8febb9f2dfa141c12a99a63625cb737185 100644 (file)
@@ -422,6 +422,7 @@ BSSbInsertToBSSList(
 
        if (pRSN != NULL) {
                unsigned int uLen = pRSN->len + 2;
+
                if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) {
                        pBSSList->wRSNLen = uLen;
                        memcpy(pBSSList->byRSNIE, pRSN, uLen);
@@ -598,6 +599,7 @@ BSSbUpdateToBSSList(
 
        if (pRSNWPA != NULL) {
                unsigned int uLen = pRSNWPA->len + 2;
+
                if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSNWPA - pbyIEs))) {
                        pBSSList->wWPALen = uLen;
                        memcpy(pBSSList->byWPAIE, pRSNWPA, uLen);
@@ -609,6 +611,7 @@ BSSbUpdateToBSSList(
 
        if (pRSN != NULL) {
                unsigned int uLen = pRSN->len + 2;
+
                if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) {
                        pBSSList->wRSNLen = uLen;
                        memcpy(pBSSList->byRSNIE, pRSN, uLen);
@@ -988,6 +991,7 @@ start:
 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
                        {
                                union iwreq_data  wrqu;
+
                                memset(&wrqu, 0, sizeof(wrqu));
                                wrqu.ap_addr.sa_family = ARPHRD_ETHER;
                                PRINT_K("wireless_send_event--->SIOCGIWAP(disassociated)\n");
@@ -1167,6 +1171,7 @@ start:
 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
                                {
                                        union iwreq_data  wrqu;
+
                                        memset(&wrqu, 0, sizeof(wrqu));
                                        wrqu.ap_addr.sa_family = ARPHRD_ETHER;
                                        PRINT_K("wireless_send_event--->SIOCGIWAP(disassociated)\n");
@@ -1267,6 +1272,7 @@ BSSvUpdateNodeTxCounter(
        unsigned short wFallBackRate = RATE_1M;
        unsigned char byFallBack;
        unsigned int ii;
+
        pTxBufHead = (PSTxBufHead) pbyBuffer;
        if (pTxBufHead->wFIFOCtl & FIFOCTL_AUTO_FB_0)
                byFallBack = AUTO_FB_0;
@@ -1451,6 +1457,7 @@ void s_vCheckSensitivity(
                        /* Update BB Reg if RSSI is too strong */
                        long    LocalldBmAverage = 0;
                        long    uNumofdBm = 0;
+
                        for (ii = 0; ii < RSSI_STAT_COUNT; ii++) {
                                if (pBSSList->ldBmAverage[ii] != 0) {
                                        uNumofdBm++;
index f2674b4fb17b996397c2fe264ee55338356af63b..fdeb80557769cc25f9586d5a668b84c1924df3da 100644 (file)
@@ -1770,6 +1770,7 @@ void vUpdateIFS(void *pDeviceHandler)
        PSDevice pDevice = (PSDevice) pDeviceHandler;
 
        unsigned char byMaxMin = 0;
+
        if (pDevice->byPacketType == PK_TYPE_11A) {//0000 0000 0000 0000,11a
                pDevice->uSlot = C_SLOT_SHORT;
                pDevice->uSIFS = C_SIFS_A;
index 647e36fe083a217b8d0bc1f2d722b4c6deff463d..f33ecf065223abc85ea9b709c24c096dedd73538 100644 (file)
@@ -786,6 +786,7 @@ inline  static      void   EnQueue(PSDevice pDevice, PSRxMgmtPacket  pRxMgmtPacket)
 inline  static  PSRxMgmtPacket DeQueue(PSDevice pDevice)
 {
        PSRxMgmtPacket  pRxMgmtPacket;
+
        if (pDevice->rxManeQueue.tail == pDevice->rxManeQueue.head) {
                printk("Queue is Empty\n");
                return NULL;
index 0f120e6841d67d58c75b0b908f52c4de0464adc0..56fdb465217536aca5724832df743fce19f8677c 100644 (file)
@@ -326,6 +326,7 @@ static int Config_FileGetParameter(unsigned char *string,
 static char *get_chip_name(int chip_id)
 {
        int i;
+
        for (i = 0; chip_info_table[i].name != NULL; i++)
                if (chip_info_table[i].chip_id == chip_id)
                        break;
@@ -464,6 +465,7 @@ static void device_init_registers(PSDevice pDevice, DEVICE_INIT_TYPE InitType)
        unsigned char byOFDMPwrdBm = 0;
        int zonetype = 0;
        PSMgmtObject    pMgmt = &(pDevice->sMgmtObj);
+
        MACbShutdown(pDevice->PortOffset);
        BBvSoftwareReset(pDevice->PortOffset);
 
@@ -1006,6 +1008,7 @@ static bool device_get_pci_info(PSDevice pDevice, struct pci_dev *pcid) {
        unsigned char value = 0x00;
        int             ii, j;
        u16     max_lat = 0x0000;
+
        memset(pci_config, 0x00, 256);
 #endif
 
@@ -1358,6 +1361,7 @@ static void device_init_td1_ring(PSDevice pDevice) {
 
 static void device_free_td0_ring(PSDevice pDevice) {
        int i;
+
        for (i = 0; i < pDevice->sOpts.nTxDescs[0]; i++) {
                PSTxDesc        pDesc = &(pDevice->apTD0Rings[i]);
                PDEVICE_TD_INFO  pTDInfo = pDesc->pTDInfo;
@@ -2278,6 +2282,7 @@ static int  device_xmit(struct sk_buff *skb, struct net_device *dev) {
                unsigned char Descriptor_type;
                unsigned short Key_info;
                bool bTxeapol_key = false;
+
                Protocol_Version = skb->data[ETH_HLEN];
                Packet_Type = skb->data[ETH_HLEN+1];
                Descriptor_type = skb->data[ETH_HLEN+1+1+2];
@@ -2576,6 +2581,7 @@ static inline u32 ether_crc(int length, unsigned char *data)
        while (--length >= 0) {
                unsigned char current_octet = *data++;
                int bit;
+
                for (bit = 0; bit < 8; bit++, current_octet >>= 1) {
                        crc = (crc << 1) ^
                                ((crc < 0) ^ (current_octet & 1) ? ethernet_polynomial : 0);
@@ -2671,6 +2677,7 @@ static void device_set_multi(struct net_device *dev) {
                memset(mc_filter, 0, sizeof(mc_filter));
                netdev_for_each_mc_addr(ha, dev) {
                        int bit_nr = ether_crc(ETH_ALEN, ha->addr) >> 26;
+
                        mc_filter[bit_nr >> 5] |= cpu_to_le32(1 << (bit_nr & 31));
                }
                MACvSelectPage1(pDevice->PortOffset);
@@ -2734,6 +2741,7 @@ static int  device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
 
        {
                char essid[IW_ESSID_MAX_SIZE+1];
+
                if (wrq->u.essid.length > IW_ESSID_MAX_SIZE) {
                        rc = -E2BIG;
                        break;
@@ -2753,6 +2761,7 @@ static int  device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
 
        {
                char essid[IW_ESSID_MAX_SIZE+1];
+
                if (wrq->u.essid.pointer)
                        rc = iwctl_giwessid(dev, NULL,
                                            &(wrq->u.essid), essid);
@@ -3115,6 +3124,7 @@ static int ethtool_ioctl(struct net_device *dev, void __user *useraddr)
        switch (ethcmd) {
        case ETHTOOL_GDRVINFO: {
                struct ethtool_drvinfo info = {ETHTOOL_GDRVINFO};
+
                strncpy(info.driver, DEVICE_NAME, sizeof(info.driver)-1);
                strncpy(info.version, DEVICE_VERSION, sizeof(info.version)-1);
                if (copy_to_user(useraddr, &info, sizeof(info)))
@@ -3171,6 +3181,7 @@ static int
 device_notify_reboot(struct notifier_block *nb, unsigned long event, void *p)
 {
        struct pci_dev *pdev = NULL;
+
        switch (event) {
        case SYS_DOWN:
        case SYS_HALT:
index 696564b44200cef77ee4042858eceee341060d00..5b2ace2755d29ccf1c68fb5700e961bd67bd97ca 100644 (file)
@@ -604,6 +604,7 @@ device_receive_frame(
                        {
                                unsigned char Protocol_Version;    //802.1x Authentication
                                unsigned char Packet_Type;           //802.1x Authentication
+
                                if (bIsWEP)
                                        cbIVOffset = 8;
                                else
@@ -761,6 +762,7 @@ device_receive_frame(
                                        union iwreq_data wrqu;
                                        struct iw_michaelmicfailure ev;
                                        int keyidx = pbyFrame[cbHeaderSize+3] >> 6; //top two-bits
+
                                        memset(&ev, 0, sizeof(ev));
                                        ev.flags = keyidx & IW_MICFAILURE_KEY_ID;
                                        if ((pMgmt->eCurrMode == WMAC_MODE_ESS_STA) &&
@@ -1114,6 +1116,7 @@ static bool s_bHandleRxEncryption(
                        // Software TKIP
                        // 1. 3253 A
                        PS802_11Header  pMACHeader = (PS802_11Header)(pbyFrame);
+
                        TKIPvMixKey(pKey->abyKey, pMACHeader->abyAddr2, *pwRxTSC15_0, *pdwRxTSC47_16, pDevice->abyPRNG);
                        rc4_init(&pDevice->SBox, pDevice->abyPRNG, TKIP_KEY_LEN);
                        rc4_encrypt(&pDevice->SBox, pbyIV+8, pbyIV+8, PayloadLen);
index 747d72340db353d24950c4f8981e90fc038750af..d449fcb173958539dbd98de8602869c69ec8af86 100644 (file)
@@ -139,11 +139,13 @@ static int iwctl_siwscan(struct net_device *dev,
        struct iw_scan_req  *req = (struct iw_scan_req *)extra;
        unsigned char abyScanSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1];
        PWLAN_IE_SSID pItemSSID = NULL;
+
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWSCAN \n");
 
        if (pDevice->byReAssocCount > 0) {   //reject scan when re-associating!
 //send scan event to wpa_Supplicant
                union iwreq_data wrqu;
+
                PRINT_K("wireless_send_event--->SIOCGIWSCAN(scan done)\n");
                memset(&wrqu, 0, sizeof(wrqu));
                wireless_send_event(pDevice->dev, SIOCGIWSCAN, &wrqu, NULL);
@@ -255,6 +257,7 @@ static int iwctl_giwscan(struct net_device *dev,
                        //2008-0409-04, <Add> by Einsn Liu
                        {
                                int f = (int)pBSS->uChannel - 1;
+
                                if (f < 0)f = 0;
                                iwe.u.freq.m = frequency_list[f] * 100000;
                                iwe.u.freq.e = 1;
@@ -358,6 +361,7 @@ int iwctl_siwfreq(struct net_device *dev,
            (wrq->m <= (int) 2.487e8)) {
                int f = wrq->m / 100000;
                int c = 0;
+
                while ((c < 14) && (f != frequency_list[c]))
                        c++;
                wrq->e = 0;
@@ -368,6 +372,7 @@ int iwctl_siwfreq(struct net_device *dev,
                rc = -EOPNOTSUPP;
        else {
                int channel = wrq->m;
+
                if ((channel < 1) || (channel > 14)) {
                        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "%s: New channel value of %d is invalid!\n", dev->name, wrq->m);
                        rc = -EINVAL;
@@ -404,6 +409,7 @@ int iwctl_giwfreq(struct net_device *dev,
 #else
        {
                int f = (int)pMgmt->uCurrChannel - 1;
+
                if (f < 0)
                        f = 0;
                wrq->m = frequency_list[f] * 100000;
@@ -658,6 +664,7 @@ int iwctl_siwap(struct net_device *dev,
                //                  then ignore,because you don't known which one to be connect with??
                {
                        unsigned int ii, uSameBssidNum = 0;
+
                        for (ii = 0; ii < MAX_BSS_NUM; ii++) {
                                if (pMgmt->sBSSList[ii].bActive &&
                                    ether_addr_equal(pMgmt->sBSSList[ii].abyBSSID,
@@ -1059,6 +1066,7 @@ int iwctl_siwrts(struct net_device *dev,
 
        {
                int rthr = wrq->value;
+
                if (wrq->disabled)
                        rthr = 2312;
 
index 343b815c0a9e9a89fd08869a80b3769c9c45a7e7..b7819bc702de3eb2c2f393d3a38656d137bc81ea 100644 (file)
@@ -82,6 +82,7 @@ void rc4_encrypt(PRC4Ext pRC4, unsigned char *pbyDest,
                 unsigned char *pbySrc, unsigned int cbData_len)
 {
        unsigned int ii;
+
        for (ii = 0; ii < cbData_len; ii++)
                pbyDest[ii] = (unsigned char)(pbySrc[ii] ^ rc4_byte(pRC4));
 }
index 33913e5b1cc1ad64cb2c04b0422aa7e9698c3acb..d2d7dff3dce7caf985c9a9df3e361675a30c6dea 100644 (file)
@@ -750,6 +750,7 @@ bool RFbInit(
 )
 {
        bool bResult = true;
+
        switch (pDevice->byRFType) {
        case RF_AIROHA:
        case RF_AL2230S:
@@ -786,6 +787,7 @@ bool RFbInit(
 bool RFbSelectChannel(void __iomem *dwIoBase, unsigned char byRFType, unsigned char byChannel)
 {
        bool bResult = true;
+
        switch (byRFType) {
        case RF_AIROHA:
        case RF_AL2230S:
index 52455cd6c896935d3e44c0cfbcfe939276bf224a..092b918d0c1dee30ac6247e0d1a50feed16c2f99 100644 (file)
@@ -1084,6 +1084,7 @@ s_vGenerateTxParameter(
        unsigned char byFBOption = AUTO_FB_NONE;
 
        PSTxBufHead pFifoHead = (PSTxBufHead)pTxBufHead;
+
        pFifoHead->wReserved = wCurrentRate;
        wFifoCtl = pFifoHead->wFIFOCtl;
 
@@ -1103,6 +1104,7 @@ s_vGenerateTxParameter(
                        //Fill RsvTime
                        if (pvRrvTime) {
                                PSRrvTime_gRTS pBuf = (PSRrvTime_gRTS)pvRrvTime;
+
                                pBuf->wRTSTxRrvTime_aa = cpu_to_le16((unsigned short)s_uGetRTSCTSRsvTime(pDevice, 2, byPktType, cbFrameSize, wCurrentRate));//2:RTSTxRrvTime_aa, 1:2.4GHz
                                pBuf->wRTSTxRrvTime_ba = cpu_to_le16((unsigned short)s_uGetRTSCTSRsvTime(pDevice, 1, byPktType, cbFrameSize, wCurrentRate));//1:RTSTxRrvTime_ba, 1:2.4GHz
                                pBuf->wRTSTxRrvTime_bb = cpu_to_le16((unsigned short)s_uGetRTSCTSRsvTime(pDevice, 0, byPktType, cbFrameSize, wCurrentRate));//0:RTSTxRrvTime_bb, 1:2.4GHz
@@ -1116,6 +1118,7 @@ s_vGenerateTxParameter(
                        //Fill RsvTime
                        if (pvRrvTime) {
                                PSRrvTime_gCTS pBuf = (PSRrvTime_gCTS)pvRrvTime;
+
                                pBuf->wTxRrvTime_a = cpu_to_le16((unsigned short)s_uGetTxRsvTime(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK));//2.4G OFDM
                                pBuf->wTxRrvTime_b = cpu_to_le16((unsigned short)s_uGetTxRsvTime(pDevice, PK_TYPE_11B, cbFrameSize, pDevice->byTopCCKBasicRate, bNeedACK));//1:CCK
                                pBuf->wCTSTxRrvTime_ba = cpu_to_le16((unsigned short)s_uGetRTSCTSRsvTime(pDevice, 3, byPktType, cbFrameSize, wCurrentRate));//3:CTSTxRrvTime_Ba, 1:2.4GHz
@@ -1129,6 +1132,7 @@ s_vGenerateTxParameter(
                        //Fill RsvTime
                        if (pvRrvTime) {
                                PSRrvTime_ab pBuf = (PSRrvTime_ab)pvRrvTime;
+
                                pBuf->wRTSTxRrvTime = cpu_to_le16((unsigned short)s_uGetRTSCTSRsvTime(pDevice, 2, byPktType, cbFrameSize, wCurrentRate));//2:RTSTxRrvTime_aa, 0:5GHz
                                pBuf->wTxRrvTime = cpu_to_le16((unsigned short)s_uGetTxRsvTime(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK));//0:OFDM
                        }
@@ -1138,6 +1142,7 @@ s_vGenerateTxParameter(
                        //Fill RsvTime
                        if (pvRrvTime) {
                                PSRrvTime_ab pBuf = (PSRrvTime_ab)pvRrvTime;
+
                                pBuf->wTxRrvTime = cpu_to_le16((unsigned short)s_uGetTxRsvTime(pDevice, PK_TYPE_11A, cbFrameSize, wCurrentRate, bNeedACK)); //0:OFDM
                        }
                }
@@ -1146,6 +1151,7 @@ s_vGenerateTxParameter(
                        //Fill RsvTime
                        if (pvRrvTime) {
                                PSRrvTime_ab pBuf = (PSRrvTime_ab)pvRrvTime;
+
                                pBuf->wRTSTxRrvTime = cpu_to_le16((unsigned short)s_uGetRTSCTSRsvTime(pDevice, 0, byPktType, cbFrameSize, wCurrentRate));//0:RTSTxRrvTime_bb, 1:2.4GHz
                                pBuf->wTxRrvTime = cpu_to_le16((unsigned short)s_uGetTxRsvTime(pDevice, PK_TYPE_11B, cbFrameSize, wCurrentRate, bNeedACK));//1:CCK
                        }
@@ -1155,6 +1161,7 @@ s_vGenerateTxParameter(
                        //Fill RsvTime
                        if (pvRrvTime) {
                                PSRrvTime_ab pBuf = (PSRrvTime_ab)pvRrvTime;
+
                                pBuf->wTxRrvTime = cpu_to_le16((unsigned short)s_uGetTxRsvTime(pDevice, PK_TYPE_11B, cbFrameSize, wCurrentRate, bNeedACK)); //1:CCK
                        }
                }
@@ -2025,6 +2032,7 @@ vGenerateMACHeader(
 
        if (pDevice->bLongHeader) {
                PWLAN_80211HDR_A4 pMACA4Header  = (PWLAN_80211HDR_A4) pbyBufferAddr;
+
                pMACHeader->wFrameCtl |= (FC_TODS | FC_FROMDS);
                memcpy(pMACA4Header->abyAddr4, pDevice->abyBSSID, WLAN_ADDR_LEN);
        }
index 8241e6b0a71c5ecdfd448f1afb3b97e10a21036e..0ee1e8a7c11326501051d8c65caebf284ce06e1a 100644 (file)
@@ -128,6 +128,7 @@ VNTWIFIpGetCurrentSSID(
 )
 {
        PSMgmtObject        pMgmt = (PSMgmtObject)pMgmtHandle;
+
        return (PWLAN_IE_SSID) pMgmt->abyCurrSSID;
 }
 
@@ -151,6 +152,7 @@ VNTWIFIpGetCurrentChannel(
 )
 {
        PSMgmtObject        pMgmt = (PSMgmtObject)pMgmtHandle;
+
        if (pMgmtHandle != NULL)
                return pMgmt->uCurrChannel;
 
@@ -177,6 +179,7 @@ VNTWIFIwGetAssocID(
 )
 {
        PSMgmtObject        pMgmt = (PSMgmtObject)pMgmtHandle;
+
        return pMgmt->wCurrAID;
 }
 
index fc605f22455ed5d70db1e6a948acd267e2cd3908..8196321ccd314e15748651b6c45e8a6bdc0c5d05 100644 (file)
@@ -990,6 +990,7 @@ BSSvSecondTxData(
 {
        PSDevice        pDevice = (PSDevice)hDeviceContext;
        PSMgmtObject  pMgmt = &(pDevice->sMgmtObj);
+
        pDevice->nTxDataTimeCout++;
 
        if (pDevice->nTxDataTimeCout < 4)     //don't tx data if timer less than 40s
index 0b6f1e9147f1346f4e660d191234789f033a7525..fa72915172812b4a6cc1ae77ce36274e81154477 100644 (file)
@@ -1649,6 +1649,7 @@ s_vMgrRxDeauthentication(
 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
                        {
                                union iwreq_data  wrqu;
+
                                memset(&wrqu, 0, sizeof(wrqu));
                                wrqu.ap_addr.sa_family = ARPHRD_ETHER;
                                PRINT_K("wireless_send_event--->SIOCGIWAP(disauthen)\n");
@@ -2541,6 +2542,7 @@ vMgrJoinBSSBegin(
                        // This should only works for WPA2 BSS, and WPA2 BSS check must be done before.
                        if (pMgmt->eAuthenMode == WMAC_AUTH_WPA2) {
                                bool bResult = bAdd_PMKID_Candidate((void *)pDevice, pMgmt->abyCurrBSSID, &pCurr->sRSNCapObj);
+
                                DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bAdd_PMKID_Candidate: 1(%d)\n", bResult);
                                if (!bResult) {
                                        vFlush_PMKID_Candidate((void *)pDevice);
index 9be59c23d7e628312d7f27c43f995114d0f1476d..505c895920572c7136b88308766dd217455ee129 100644 (file)
@@ -73,6 +73,7 @@ WPA_ClearRSN(
 )
 {
        int ii;
+
        pBSSList->byGKType = WPA_TKIP;
        for (ii = 0; ii < 4; ii++)
                pBSSList->abyPKType[ii] = WPA_TKIP;
index 8392d4d1d5ed75e83ff60123bc66f9f17132b016..10b100c08590983172b19f58c4bdbe8561002cef 100644 (file)
@@ -766,6 +766,7 @@ static int wpa_set_associate(PSDevice pDevice,
 /*******search if ap_scan=2 ,which is associating request in hidden ssid mode ****/
        {
                PKnownBSS       pCurr = NULL;
+
                pCurr = BSSpSearchBSSList(pDevice,
                                          pMgmt->abyDesireBSSID,
                                          pMgmt->abyDesireSSID,