On Wed, Jun 20, 2012 at 11:49 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2012-06-19 at 16:11 +0300, Victor Goldenshtein wrote: > >> + bool dfs_supported = !!(local->hw.wiphy->features & >> + NL80211_FEATURE_DFS); > > No need for !!, also why not inline that into the condition? > I will remove the "!!", and if it's ok with you I would prefer to leave the "dfs_supported" flag, I think it a bit simplifies this big "if" statement. -- Thanks, Victor. -- 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