Hi, this patch makes ath9k fail to load, hitting a warning on compat-wireless-2014-01-23.1/net/wireless/core.c:380, that is
/* * Combinations with just one interface aren't real, * however we make an exception for DFS. */ if (WARN_ON((c->max_interfaces < 2) && !c->radar_detect_widths)) return -EINVAL; I think you need to remove the entire configuration if DFS is disabled. Please find attached a patch that addresses this. Regards, M. Braun --- --- compat-wireless-2014-01-23.1/drivers/net/wireless/ath/ath9k/init.c.orig 2014-03-05 11:28:28.192771126 +0100 +++ compat-wireless-2014-01-23.1/drivers/net/wireless/ath/ath9k/init.c 2014-03-05 11:29:01.407831112 +0100 @@ -891,19 +891,21 @@ .n_limits = ARRAY_SIZE(if_limits), .max_interfaces = 2048, .num_different_channels = 1, .beacon_int_infra_match = true, }, +#ifdef CONFIG_ATH9K_DFS_CERTIFIED { .limits = if_dfs_limits, .n_limits = ARRAY_SIZE(if_dfs_limits), .max_interfaces = 1, .num_different_channels = 1, .beacon_int_infra_match = true, .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) | BIT(NL80211_CHAN_WIDTH_20), } +#endif }; static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw) { struct ath_hw *ah = sc->sc_ah; --- _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel