From: Amitkumar Karwar Date: Thu, 28 Apr 2011 02:13:12 +0000 (-0700) Subject: mwifiex: HT capability information handling X-Git-Tag: v3.0-rc1~377^2~161^2^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46b7b5c13b9ecfe2b4e045e06aaec644dcf55d8;p=pandora-kernel.git mwifiex: HT capability information handling 1) Initialise HT capabilities in cfg80211 properly. 2) Cfg80211 stack may modify "sband->ht_cap" to disable 40Mhz operation in 2.4GHz band (after recent patch "cfg80211: module_param to disable HT40 in 2.4GHz band") Therefore read "sband->ht_cap" instead of an adapter variable "hw_dot_11n_dev_cap" to get HT capabilities. Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed