1 --- a/drivers/net/wireless/ath/ath9k/main.c
2 +++ b/drivers/net/wireless/ath/ath9k/main.c
3 @@ -1448,15 +1448,6 @@ static int ath9k_add_interface(struct ie
7 - if ((ah->opmode == NL80211_IFTYPE_ADHOC) ||
8 - ((vif->type == NL80211_IFTYPE_ADHOC) &&
10 - ath_err(common, "Cannot create ADHOC interface when other"
11 - " interfaces already exist.\n");
16 ath_dbg(common, ATH_DBG_CONFIG,
17 "Attach a VIF of type: %d\n", vif->type);
19 @@ -1482,15 +1473,6 @@ static int ath9k_change_interface(struct
20 mutex_lock(&sc->mutex);
23 - /* See if new interface type is valid. */
24 - if ((new_type == NL80211_IFTYPE_ADHOC) &&
26 - ath_err(common, "When using ADHOC, it must be the only"
32 if (ath9k_uses_beacons(new_type) &&
33 !ath9k_uses_beacons(vif->type)) {
34 if (sc->nbcnvifs >= ATH_BCBUF) {