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? johannes -- 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