From: Simon Wunderlich Date: Tue, 12 Aug 2014 15:12:17 +0000 (+0200) Subject: ath10k: unregister spectral before mac X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~55^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=804eef14790f8917f74945f82db8b55903f76af4;p=pandora-kernel.git ath10k: unregister spectral before mac If spectral is unregistered after mac80211, the relayfs file has already been removed recursively by mac/cfg80211, and spectral tries to remove the file once more, thus leading to double free problems. Better clean up spectral before to avoid that problem. Reported-by: Kalle Valo Signed-off-by: Simon Wunderlich Signed-off-by: Kalle Valo --- Reading git-diff-tree failed