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

Jouni Malinen j
Sat Dec 3 09:50:17 PST 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