k.int_id = wvif->id;
        k.entry_index = idx;
        if (key->cipher == WLAN_CIPHER_SUITE_WEP40 ||
-           key->cipher ==  WLAN_CIPHER_SUITE_WEP104) {
+           key->cipher == WLAN_CIPHER_SUITE_WEP104) {
                if (pairwise)
                        k.type = fill_wep_pair(&k.key.wep_pairwise_key, key,
                                               sta->addr);
                else
                        k.type = fill_ccmp_group(&k.key.aes_group_key, key,
                                                 &seq);
-       } else if (key->cipher ==  WLAN_CIPHER_SUITE_SMS4) {
+       } else if (key->cipher == WLAN_CIPHER_SUITE_SMS4) {
                if (pairwise)
                        k.type = fill_sms4_pair(&k.key.wapi_pairwise_key, key,
                                                sta->addr);
                else
                        k.type = fill_sms4_group(&k.key.wapi_group_key, key);
-       } else if (key->cipher ==  WLAN_CIPHER_SUITE_AES_CMAC) {
+       } else if (key->cipher == WLAN_CIPHER_SUITE_AES_CMAC) {
                k.type = fill_aes_cmac_group(&k.key.igtk_group_key, key,
                                             &seq);
        } else {