Re: [PATCH 3.12] cfg80211: fix ibss wext chandef creation

From: Dirk Gouders
Date: Mon Oct 28 2013 - 13:05:14 EST

Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes:

> On Tue, 2013-10-22 at 22:02 +0200, Simon Wunderlich wrote:
>> The wext internal chandefs for ibss should be created using the
>> cfg80211_chandef_create() functions. Otherwise the center_freq1 field
>> will not be set and cfg80211_chandef_valid() will spit a warning and
>> report the chandef as invalid when it should be used.
> I think
> commit f478f33a93f9353dcd1fe55445343d76b1c3f84a
> Author: Bruno Randolf <br1@xxxxxxxxxxx>
> Date: Thu Sep 26 16:55:28 2013 +0100
> cfg80211: fix warning when using WEXT for IBSS
> already fixed this. Your patch doesn't apply, but feel free to send me a
> new one (for -next) converting to the creation helpers.

I tested the above commit and it also fixes the problems I noticed here.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at