forked from LiBwrt/openwrt-6.x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ath11k_nss: Fix null pointer dereference in BSS transition handling
There is a null pointer bug caused by inconsistent handling of the `ath11k_base` structure. Previously, functions accessing `ar->ab` internally, assumed it was always valid. If `ar->ab` was not properly initialized, this led to null pointer dereferences. This patch resolves the issue by: - Explicitly passing `struct ath11k_base *ab` to functions that require it, instead of relying on `ar->ab`. - Replacing all instances of `ar->ab` with `ab` for direct access. Patch by: Sebastian Gottschall <[email protected]> Signed-off-by: Sean Khan <[email protected]> (cherry picked from commit 1f6f55f9c737ece5e3d8156bbe280f84ea4bd480)
- Loading branch information
Showing
1 changed file
with
18 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters