From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from c60.cesmail.net ([216.154.195.49]:21574 "EHLO c60.cesmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753837Ab0ESSTO (ORCPT ); Wed, 19 May 2010 14:19:14 -0400 Subject: Re: [PATCH] cfg80211: make action channel type optional From: Pavel Roskin To: Johannes Berg Cc: John Linville , Jouni Malinen , linux-wireless In-Reply-To: <1274264232.3874.7.camel@jlt3.sipsolutions.net> References: <1274264232.3874.7.camel@jlt3.sipsolutions.net> Content-Type: text/plain Date: Wed, 19 May 2010 14:19:12 -0400 Message-Id: <1274293152.8463.2.camel@mj> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2010-05-19 at 12:17 +0200, Johannes Berg wrote: > @@ -1168,6 +1168,7 @@ struct cfg80211_ops { > int (*action)(struct wiphy *wiphy, struct net_device *dev, > struct ieee80211_channel *chan, > enum nl80211_channel_type channel_type, > + bool channel_type_valid, > const u8 *buf, size_t len, u64 *cookie); Would not it be easier to introduce NL80211_CHAN_UNSPECIFIED in enum nl80211_channel_type? -- Regards, Pavel Roskin