]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wireless/ti/wlcore/main.c
cfg80211: consolidate passive-scan and no-ibss flags
[~andy/linux] / drivers / net / wireless / ti / wlcore / main.c
index 0368b9cbfb896d6460da3635b199ef6266805644..e9da47cead587704c7060ebd8ab754c1aa7da16b 100644 (file)
@@ -91,8 +91,7 @@ static void wl1271_reg_notify(struct wiphy *wiphy,
                        continue;
 
                if (ch->flags & IEEE80211_CHAN_RADAR)
-                       ch->flags |= IEEE80211_CHAN_NO_IBSS |
-                                    IEEE80211_CHAN_PASSIVE_SCAN;
+                       ch->flags |= IEEE80211_CHAN_NO_IR;
 
        }