Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > Remove all the code that was there to configure WDS interfaces, > now that there's no way to reach it anymore. > > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> [...] > @@ -675,10 +673,8 @@ int wiphy_register(struct wiphy *wiphy) > !(wiphy->nan_supported_bands & BIT(NL80211_BAND_2GHZ))))) > return -EINVAL; > > -#ifndef CONFIG_WIRELESS_WDS > if (WARN_ON(wiphy->interface_modes & BIT(NL80211_IFTYPE_WDS))) > return -EINVAL; > -#endif What about out-of-tree drivers? Should we have (or do we already have?) a some kind safe guard if an out of tree driver tries to use WDS? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches