]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix memleak in mac setup
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 22 Jul 2013 12:13:30 +0000 (14:13 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:21 +0000 (18:01 +0300)
commitfa1e30854f52de33ed44f279db81426a7ee328ca
tree1be9b53fcc932d37c4338707f5feff2ee7ae2e7b
parentff4d2cd7eb3416837339ee2536ad5cfb380985b1
ath10k: fix memleak in mac setup

In some cases channel arrays were never freed.

The patch also unifies error handling in the mac
setup function.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c