From: Michal Kazior Date: Wed, 3 Jun 2015 10:16:54 +0000 (+0200) Subject: ath10k: fix ar->rx_channel updating logic X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~34^2~3^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7bf4b4aba056f3e7eb88a3d8d45ee1a6f4873e9;p=pandora-kernel.git ath10k: fix ar->rx_channel updating logic Channel contexts aren't iterable until after they've been added to the driver. The code assumed otherwise. This problem could result in: * rx_channel being NULL and forcing Rx path to go the slow way to get channel on QCA988X, * report incorrect channel when running multi-channel on QCA61X4 hw2.1, * report incorrect channel after AP channel switch. Fixes: 500ff9f9389d ("ath10k: implement chanctx API") Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed