cfg80211: convert bools into flags
[linux-2.6-block.git] / net / mac80211 / main.c
index e843a912849cc6207a4fef1326c9d9543eff7002..8084b622e97eb0e0ca4f297b494f76e9297f87c7 100644 (file)
@@ -328,7 +328,7 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
        if (!wiphy)
                return NULL;
 
-       wiphy->netnsok = true;
+       wiphy->flags |= WIPHY_FLAG_NETNS_OK;
        wiphy->privid = mac80211_wiphy_privid;
 
        /* Yes, putting cfg80211_bss into ieee80211_bss is a hack */