mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Make call to cfg80211_ap_stopped() conditional
cfg80211_ap_stopped() not supported anymore for kernel 5.4. changes added to protect call to cfg80211_ap_stopped under kernel version compilation flag.This will allow the call to be invoked for MSM kernels which have been patched, but not for any other kernels, including the GKI kernels. Change-Id: I05470469eb82da174e5b9c46f7d19fc77aaca85d CRs-Fixed: 2558981
This commit is contained in:
parent
a07736a6da
commit
8fb17305d1
1 changed files with 1 additions and 1 deletions
|
|
@ -6898,7 +6898,7 @@ int wlan_hdd_set_mon_chan(struct hdd_adapter *adapter, uint32_t chan,
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef MSM_PLATFORM
|
||||
#if defined MSM_PLATFORM && (LINUX_VERSION_CODE <= KERNEL_VERSION(4, 19, 0))
|
||||
/**
|
||||
* hdd_stop_p2p_go() - call cfg80211 API to stop P2P GO
|
||||
* @adapter: pointer to adapter
|
||||
|
|
|
|||
Loading…
Reference in a new issue