[PATCH v3 03/15] driver_nl80211: move AP SME setup to mode change

Jouni Malinen j at w1.fi
Sat Dec 3 12:50:17 EST 2011


On Sat, Nov 19, 2011 at 01:39:13PM +0100, Johannes Berg wrote:
> diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c

> @@ -5964,33 +5997,22 @@ static int wpa_driver_nl80211_set_mode(struct i802_bss *bss,
> -	if (!ret && is_p2p_interface(drv->nlmode)) {
> -		nl80211_disable_11b_rates(drv, drv->ifindex, 1);
> -		drv->disabled_11b_rates = 1;
> -	} else if (!ret && drv->disabled_11b_rates) {
> -		nl80211_disable_11b_rates(drv, drv->ifindex, 0);
> -		drv->disabled_11b_rates = 0;
> +		nl80211_teardown_ap(bss);
>  	}

Hmm.. That removal of disable_11b_rates() does not look correct. Was
this some kind of merge/rebasing issue? I dropped the part that removed
11b rate handling here. Please verify that the changes are correct.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list