mwifiex: check firmware capabilities while initialising 5GHz band parameters
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 28 Apr 2011 02:13:11 +0000 (19:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Apr 2011 18:53:23 +0000 (14:53 -0400)
commitadc89595732b92f78940fc0ccdb52afaec582a48
treee864c5612e52d8ca35204b4290cd78ec42183b59
parent49adc5ceb2b95e517baf625e0c8e06e91073009b
mwifiex: check firmware capabilities while initialising 5GHz band parameters

There are some SD8787 cards which don't support 5GHz band.
Therefore initialise 5GHz band parameters only if hardware
supports the band.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c