[PATCH 3/3] Fix connection to AP mode

Pontus Fuchs pontus.fuchs at gmail.com
Fri Jun 7 16:23:24 EDT 2013


On 2013-06-07 14:54, Eugene Krasnikov wrote:
> Set correct AID in config_sta and set stakey.
>
> Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
> ---
[...]
> @@ -470,9 +470,12 @@ static int wcn36xx_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
>   		    vif, sta->addr);
>   
>   	if (vif->type == NL80211_IFTYPE_ADHOC ||
> -	    vif->type == NL80211_IFTYPE_MESH_POINT)
> +	    vif->type == NL80211_IFTYPE_MESH_POINT ||
> +	    vif->type == NL80211_IFTYPE_AP) {
>   		wcn36xx_smd_config_sta(wcn, wcn->addresses[0].addr,
>   				       sta->addr);
> +		wcn36xx_smd_set_stakey(wcn, 0, 0, 0, NULL);
Q: What is the meaning of setting an empty key?

//Pontus



More information about the wcn36xx mailing list