]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mac80211: ath9k: fix memory leak 22158/head
authorRosen Penev <rosenp@gmail.com>
Mon, 23 Feb 2026 21:09:06 +0000 (13:09 -0800)
committerRobert Marko <robimarko@gmail.com>
Tue, 24 Feb 2026 08:58:42 +0000 (09:58 +0100)
commit2eb1f7df26e4571bbf33aa190e9be253944723b5
treedd44e865918e9e55c830f6656b709e089bb80f45
parentcf4cd07777787e813f16ed80a50384a5f3936260
mac80211: ath9k: fix memory leak

sc->gpiochip is assigned to gc when it should be the other way around.
This allows gpiod_free to work properly.

Fixes: e78dc2eae4 ("mac80211: ath9k: clean up gpiochi")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22158
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/mac80211/patches/ath9k/548-ath9k_enable_gpio_chip.patch