On Wed, Nov 6, 2013 at 2:15 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2013-11-05 at 09:17 -0800, Luis R. Rodriguez wrote: > >> @@ -1251,7 +1261,7 @@ static void handle_channel_custom(struct wiphy *wiphy, >> if (IS_ERR(reg_rule)) { >> REG_DBG_PRINT("Disabling freq %d MHz as custom regd has no rule that fits it\n", >> chan->center_freq); >> - chan->flags = IEEE80211_CHAN_DISABLED; >> + chan->flags = chan->orig_flags |= IEEE80211_CHAN_DISABLED; > > Are you sure the |= is right? It works but I think its best to split this in retrospect to make it clear, I'll send a v2 and I don't think the v2 would interfere with the series. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html