Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If TDLS station addition is rejected, the sta memory is leaked. Avoid this by moving the check before the allocation. Cc: [email protected] Fixes: 7ed5285 ("mac80211: don't initiate TDLS connection if station is not associated to AP") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information