From: Sujith Manoharan Date: Tue, 7 Oct 2014 04:44:37 +0000 (+0530) Subject: ath9k: Fix crash in MCC mode X-Git-Tag: fixes-against-v3.18-rc2~115^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18111d911980af52bead74ee45250cc96ad5108;p=pandora-kernel.git ath9k: Fix crash in MCC mode When a channel context is removed, the hw_queue_base is set to -1, this will result in a panic because ath9k_chanctx_stop_queues() can be called on an interface that is not assigned to any context yet - for example, when trying to scan. Fix this issue by setting the hw_queue_base to zero when a channel context is removed. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed