qcacld-3.0: Don't set mac address if p2p device is up
The current dynamic mac address updating feature doesn't support p2p device which require self peer delete and create without vdev delete and create. Reject the set mac address if p2p interface is up to avoid stability issue. Change-Id: I8a9c60f77e227c44580ec15a3863c36f2f09a8e5 CRs-Fixed: 3543158
This commit is contained in:

committed by
Rahul Choudhary

parent
6e32a9c1a1
commit
6743d7d156
@@ -5649,8 +5649,6 @@ bool hdd_is_dynamic_set_mac_addr_allowed(struct hdd_adapter *adapter)
|
||||
hdd_info_rl("VDEV is not in disconnected state, set mac address isn't supported");
|
||||
return false;
|
||||
}
|
||||
fallthrough;
|
||||
case QDF_P2P_DEVICE_MODE:
|
||||
return true;
|
||||
case QDF_SAP_MODE:
|
||||
if (test_bit(SOFTAP_BSS_STARTED,
|
||||
|
Reference in New Issue
Block a user