commit | 341b88007275121e9d85e3e38fc6b7546a4e7e9d | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Fri Feb 07 16:27:31 2014 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Feb 12 15:36:18 2014 -0500 |
tree | 3a48351c5018bf4427cc4c8fce48f06ca70df73f | |
parent | 4bcf93d3a4d6f145e9d871afc4797018d33c4bb1 [diff] |
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 <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>