mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Fix bool logic typo in GO suspend enable check
If gEnableSapSuspend is disabled then in both SAP and GO mode cfg80211 suspend should be rejected. Fix a boolean logic typo in GO mode such that GO mode behaves same as SAP mode. Change-Id: I49ab2a378f32eb4dedaa57183ad78cc022419cfa CRs-Fixed: 2446133
This commit is contained in:
parent
0bb331f0b4
commit
afccd9a477
1 changed files with 1 additions and 1 deletions
|
|
@ -1766,7 +1766,7 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
|
|||
return -EOPNOTSUPP;
|
||||
}
|
||||
} else if (QDF_P2P_GO_MODE == adapter->device_mode) {
|
||||
if (!!ucfg_pmo_get_enable_sap_suspend(
|
||||
if (!ucfg_pmo_get_enable_sap_suspend(
|
||||
hdd_ctx->psoc)) {
|
||||
/* return -EOPNOTSUPP if GO does not support
|
||||
* suspend
|
||||
|
|
|
|||
Loading…
Reference in a new issue