source: trunk/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch @ 26668

Last change on this file since 26668 was 26668, checked in by nbd, 6 years ago

ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it

File size: 448 bytes
  • drivers/net/wireless/ath/ath9k/main.c

    a b static int ath9k_add_interface(struct ie 
    14831483                } 
    14841484        } 
    14851485 
    1486         if ((vif->type == NL80211_IFTYPE_ADHOC) && 
    1487             sc->nvifs > 0) { 
    1488                 ath_err(common, "Cannot create ADHOC interface when other" 
    1489                         " interfaces already exist.\n"); 
    1490                 ret = -EINVAL; 
    1491                 goto out; 
    1492         } 
    1493  
    14941486        ath_dbg(common, ATH_DBG_CONFIG, 
    14951487                "Attach a VIF of type: %d\n", vif->type); 
    14961488 
Note: See TracBrowser for help on using the repository browser.