mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Add beacon stats support for the p2p
Beacon stats are supported for both STA and P2P client devices, with the changes to move the sysfs creation on interface this is regressed. Add the support back for beacon stats creation for p2p. Change-Id: Ia329752cc5d4f0a338395d9416b8d444417ea567 CRs-Fixed: 2764053
This commit is contained in:
parent
416789ae60
commit
78693e0c2b
1 changed files with 4 additions and 0 deletions
|
|
@ -812,6 +812,8 @@ void hdd_create_adapter_sysfs_files(struct hdd_adapter *adapter)
|
|||
|
||||
switch (device_mode){
|
||||
case QDF_STA_MODE:
|
||||
case QDF_P2P_DEVICE_MODE:
|
||||
case QDF_P2P_CLIENT_MODE:
|
||||
hdd_sysfs_create_sta_adapter_root_obj(adapter);
|
||||
break;
|
||||
case QDF_SAP_MODE:
|
||||
|
|
@ -831,6 +833,8 @@ void hdd_destroy_adapter_sysfs_files(struct hdd_adapter *adapter)
|
|||
|
||||
switch (device_mode){
|
||||
case QDF_STA_MODE:
|
||||
case QDF_P2P_DEVICE_MODE:
|
||||
case QDF_P2P_CLIENT_MODE:
|
||||
hdd_sysfs_destroy_sta_adapter_root_obj(adapter);
|
||||
break;
|
||||
case QDF_SAP_MODE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue