From: Felix Fietkau Date: Thu, 14 Apr 2011 22:41:43 +0000 (+0200) Subject: ath9k: fix the return value of ath_stoprecv X-Git-Tag: v2.6.39-rc6~7^2~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2232d31bf18ba02f5cd632bbfc3466aeca394c75;p=pandora-kernel.git ath9k: fix the return value of ath_stoprecv The patch 'ath9k_hw: fix stopping rx DMA during resets' added code to detect a condition where rx DMA was stopped, but the MAC failed to enter the idle state. This condition requires a hardware reset, however the return value of ath_stoprecv was 'true' in that case, which allowed it to skip the reset when issuing a fast channel change. Signed-off-by: Felix Fietkau Reported-by: Paul Stewart Cc: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed