Thread (5 messages) 5 messages, 3 authors, 2013-02-27

Re: [PATCH 3.9] rt2x00: error in configurations with mesh support disabled

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2013-02-27 12:39:29

On Wed, 2013-02-27 at 13:37 +0100, Gertjan van Wingerde wrote:
Hi Felix,

On Tue, Feb 26, 2013 at 4:09 PM, Felix Fietkau [off-list ref] wrote:
quoted
If CONFIG_MAC80211_MESH is not set, cfg80211 will now allow advertising
typo: "will not allow"
quoted
interface combinations with NL80211_IFTYPE_MESH_POINT present.
Add appropriate ifdefs to avoid running into errors.
I'm not sure if rt2x00 is the proper place to fix this. To me it
doesn't look good to have to sprinkle these kind of ifdefs throughout
the drivers to check if mac80211 has mesh enabled.
I would prefer a solution where drivers are still able to indicate
that they support mesh interfaces, but where mac80211/cfg80211 prevent
these kind of interfaces from being created.

@Johannes: What is your view on this?
It would be nicer, but the data is const so mac80211 can't modify it,
and I don't see that we should add a lot of code/handshaking to
mac80211/cfg80211 just to avoid one ifdef here.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help