brcmfmac: Correct mcs index report
authorDaniel Kim <dekim@broadcom.com>
Tue, 25 Feb 2014 19:30:36 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:33:44 +0000 (14:33 -0500)
commit4aca7a185aeba4472e7a798e5d834d7702ebbeca
treea448c69990c8c1372b593b64bf100589b8d66493
parent81c7883c46fddd53b7a98c3659ffae21189ae4ab
brcmfmac: Correct mcs index report

There is a mismatch between the mcs index(0-7) reported to cfg80211
and the actual mcs index(0-15) in use. This patch resolves the mismatch
by setting mcs info with the number of chains read from FW.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Daniel Kim <dekim@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c