Re: [PATCH v2] cfg80211: Try multiple bandwidths when checking usable channels.

2014-08-11 Thread Johannes Berg
On Thu, 2014-07-24 at 14:43 +0200, Rostislav Lisovy wrote: > Current code checks if at least 20MHz bandwidth is allowed for > particular channel -- if it is not, the channel is disabled. > This disables usage of 5/10 MHz channels. > Another issue with the current code is that it may allow a channel

Re: [PATCH v2] cfg80211: Try multiple bandwidths when checking usable channels.

2014-07-24 Thread Rostislav Lisovy
On Thu, 2014-07-24 at 14:43 +0200, Rostislav Lisovy wrote: > diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h > index e46c437..919f759 100644 > --- a/include/net/cfg80211.h > +++ b/include/net/cfg80211.h > @@ -3679,6 +3679,8 @@ void wiphy_apply_custom_regulatory(struct wiphy *wiphy, >