1 --- a/drivers/net/wireless/ath/ath9k/main.c
2 +++ b/drivers/net/wireless/ath/ath9k/main.c
3 @@ -1432,15 +1432,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, CONFIG, "Attach a VIF of type: %d\n", vif->type);
19 @@ -1465,15 +1456,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) {