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

- From: Johannes Berg \<johannes@sipsolutions.net\>
- Date: 2013-10-28 14:21:19 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2013/10/4139799
- Thread: https://ratatoskr.run/linux-wireless/2013/10/4139799/t.md

```text
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 [ref]
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.

johannes

```
