|
@@ -13234,7 +13234,7 @@ void wlan_hdd_cfg80211_set_key_wapi(struct hdd_adapter *adapter, uint8_t key_ind
|
|
|
tCsrRoamSetKey setKey;
|
|
|
bool isConnected = true;
|
|
|
int status = 0;
|
|
|
- uint32_t roamId = 0xFF;
|
|
|
+ uint32_t roamId = INVALID_ROAM_ID;
|
|
|
uint8_t *pKeyPtr = NULL;
|
|
|
|
|
|
hdd_debug("Device_mode %s(%d)",
|
|
@@ -13906,7 +13906,7 @@ static int __wlan_hdd_cfg80211_add_key(struct wiphy *wiphy,
|
|
|
struct hdd_adapter *adapter = WLAN_HDD_GET_PRIV_PTR(ndev);
|
|
|
tCsrRoamSetKey setKey;
|
|
|
int status;
|
|
|
- uint32_t roamId = 0xFF;
|
|
|
+ uint32_t roamId = INVALID_ROAM_ID;
|
|
|
struct hdd_hostapd_state *pHostapdState;
|
|
|
QDF_STATUS qdf_ret_status;
|
|
|
struct hdd_context *hdd_ctx;
|
|
@@ -14453,7 +14453,7 @@ static int __wlan_hdd_cfg80211_set_default_key(struct wiphy *wiphy,
|
|
|
*/
|
|
|
|
|
|
tCsrRoamSetKey setKey;
|
|
|
- uint32_t roamId = 0xFF;
|
|
|
+ uint32_t roamId = INVALID_ROAM_ID;
|
|
|
tCsrKeys *Keys = &pWextState->roamProfile.Keys;
|
|
|
|
|
|
hdd_debug("Default tx key index %d", key_index);
|
|
@@ -15350,7 +15350,7 @@ static int wlan_hdd_cfg80211_connect_start(struct hdd_adapter *adapter,
|
|
|
struct hdd_wext_state *pWextState;
|
|
|
struct hdd_context *hdd_ctx;
|
|
|
struct hdd_station_ctx *hdd_sta_ctx;
|
|
|
- uint32_t roamId;
|
|
|
+ uint32_t roamId = INVALID_ROAM_ID;
|
|
|
tCsrRoamProfile *pRoamProfile;
|
|
|
eCsrAuthType RSNAuthType;
|
|
|
tSmeConfigParams *sme_config;
|