wifi-scripts: fix fullmac phy detection
[openwrt/staging/robimarko.git] / package / network / config / wifi-scripts / files / usr / share / hostap / common.uc
index 4c33779af935e1051ad220310b2d4d5559aa1054..750e3ae71c27dac75dc3f921478e8ef4b69b6bb2 100644 (file)
@@ -49,7 +49,7 @@ function __phy_is_fullmac(phyidx)
 {
        let data = nl80211.request(nl80211.const.NL80211_CMD_GET_WIPHY, 0, { wiphy: phyidx });
 
-       return !data.software_iftypes.ap_vlan;
+       return !data.software_iftypes.monitor;
 }
 
 function phy_is_fullmac(phy)