mwifiex: pass cfg80211_beacon_data to mwifiex_set_mgmt_ie()
authorAvinash Patil <patila@marvell.com>
Fri, 29 Jun 2012 03:30:25 +0000 (20:30 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:35:58 +0000 (16:35 -0400)
commitadb6ed0c5a8b906b3d75f4d0b1b2e252795029c0
treeb974d903fd6eb30778fa5ae8df1258f124438aaf
parentfd2841c5b59c276796f730b77ef37408c0909f9c
mwifiex: pass cfg80211_beacon_data to mwifiex_set_mgmt_ie()

Pass cfg80211_beacon_data pointer instead of cfg80211_ap_settings.
While setting management IEs we only need cfg80211_beacon_data of
cfg80211_ap_settings which has Tail IE, Head IE and other IE elements.

Signed-off-by: Avinash Patil <patila@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
drivers/net/wireless/mwifiex/ie.c
drivers/net/wireless/mwifiex/main.h