From: Michal Kazior Date: Fri, 13 Dec 2013 09:44:43 +0000 (+0100) Subject: ath10k: fix band reporting for mgmt CCK frames on 5GHz X-Git-Tag: v3.14-rc1~94^2~113^2^2~37^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453cdb61c015f80e492dda217110353cd09eef18;p=pandora-kernel.git ath10k: fix band reporting for mgmt CCK frames on 5GHz Although CCK modulation isn't expected for 11a if it happened it made ath10k report wrong band (2GHz) for a mgmt frame that were actually received on 5Ghz band. Frequency would also decoded incorrectly too. In case of 5GHz-only devices this triggered mac80211 WARN_ON because there was no according sband pointer to be found. The patch should fix delivery of such frames by using different means to acquire band parameter. Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed