ath9k: fix memory leak in DFS pattern detector
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Wed, 31 Oct 2012 11:22:34 +0000 (12:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:55:33 +0000 (14:55 -0500)
commit70bf870b54b96887d388286e7d8865406f1aa670
treeea783dbb0493162995b6834b5a8bdf87cb6b5f05
parent259bcf87fb51fb80185cf54fac7f00da56a80ac4
ath9k: fix memory leak in DFS pattern detector

Free instance of pattern detector if requested DFS domain is
not supported.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/dfs_pattern_detector.c