summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMiaoqing Pan <miaoqing.pan@oss.qualcomm.com>2026-08-06 18:13:31 +0800
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-09-03 11:59:36 -0700
commit1d8e73163ef933624341075f576e2f36ef9133f7 (patch)
tree3a0179af5fdea1b752d196d51eb713f02d186533 /scripts/Makefile.thinlto
parent1a7bcf5324c8e2de6512eca5b028b6b283181d3f (diff)
downloadlinux-next-1d8e73163ef933624341075f576e2f36ef9133f7.tar.gz
linux-next-1d8e73163ef933624341075f576e2f36ef9133f7.zip
wifi: ath11k: unregister PM notifier on QMI init failure path
ath11k_core_init() registers a PM notifier before the QMI server becomes available. If the QMI server never arrives, the device remove() path can take the early-exit path introduced for QMI initialization failures, skipping ath11k_core_deinit(). As a result, the PM notifier remains registered after the ath11k base object has been freed. A subsequent suspend or resume event may invoke the stale notifier and trigger a use-after-free. Fix this by explicitly unregistering the PM notifier in the QMI failure cleanup path before releasing ath11k resources. Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.2.0.c2-00204-QCAMSLSWPLZ-1 Fixes: 32d93b51bc7e ("wifi: ath11k: choose default PM policy for hibernation") Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com> Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com> Link: https://patch.msgid.link/20260806101331.484063-4-miaoqing.pan@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions