From: Amitkumar Karwar Date: Sat, 8 Feb 2014 00:27:31 +0000 (-0800) Subject: mwifiex: cleanup in mwifiex_fill_cap_info() X-Git-Tag: v3.15-rc1~113^2~289^2^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=341b88007275121e9d85e3e38fc6b7546a4e7e9d;p=pandora-kernel.git mwifiex: cleanup in mwifiex_fill_cap_info() Pass 'struct ieee80211_ht_cap' pointer to mwifiex_fill_cap_info() instead of 'struct mwifiex_ie_types_htcap' pointer, because the routine internally uses the later one. This patch also adds WARN_ON_ONCE check for NULL band. Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed