qcacld-3.0: Support MCC user quota only for P2P-GO
Honor the MCC user quota setting for P2P-GO interface only. Change-Id: If8421c2e1ce89347cf4d09f333cb9d0528f85326 CRs-Fixed: 3160553
This commit is contained in:

committed by
Madan Koyyalamudi

parent
d6603272f9
commit
ca8b19870a
@@ -193,6 +193,11 @@ int wlan_hdd_cfg80211_set_mcc_quota(struct wiphy *wiphy,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (mcc_quota.op_mode != QDF_P2P_GO_MODE) {
|
||||
hdd_debug("Support only P2P GO mode now");
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
ucfg_mlme_set_user_mcc_quota(psoc, &mcc_quota);
|
||||
|
||||
duty_cycle = ucfg_mlme_get_user_mcc_quota_percentage(psoc);
|
||||
|
Reference in New Issue
Block a user