[PATCH] driver_nl80211: set_country fix

Johannes Berg johannes at sipsolutions.net
Tue Jun 25 04:30:26 EDT 2013


On Tue, 2013-06-25 at 10:43 +0300, Igal Chernobelsky wrote:

[please trim your quotes]

> >> +	wpa_printf(MSG_ERROR, "wpa_driver_nl80211_set_country: failed");
> >> +	return -EINVAL;
> > I don't think this is really a failure -- if you request a country but
> > the kernel already has one it might create an intersection etc. Might
> > want to even abort the loop in that case.

> Johannes, is it possible for you to elaborate about this use case?

I think I pretty much said it all ... "if you request a country but the
kernel already has one it might create an intersection" ... then it will
never report the country back, but will report "01" or something like
that (don't remember.)

Thus you'll wait for nothing.

johannes



More information about the HostAP mailing list