diff options
author | Avinash Patil <patila@marvell.com> | 2012-05-08 18:30:15 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-16 12:46:34 -0400 |
commit | d6bffe8bb520bc1ce3333d05ce67f36dab9a61aa (patch) | |
tree | ce098372b8453a433ac5b27aa7136f16d12d6915 /drivers/net/wireless/mwifiex/cfg80211.h | |
parent | 03785387e1c6b236a04d595f98b014b78e585202 (diff) | |
download | talos-op-linux-d6bffe8bb520bc1ce3333d05ce67f36dab9a61aa.tar.gz talos-op-linux-d6bffe8bb520bc1ce3333d05ce67f36dab9a61aa.zip |
mwifiex: support for creation of AP interface
1. wiphy structure is per device; hence moved it to mwifiex_adapter
mwifiex_register_cfg80211 takes mwifiex_adapter as parameter.
This function only registers wiphy with cfg80211.
2. Creation of interfaces is moved to cfg80211 add_virtual_interface
handler.
3. Create 2 interfaces by default: station and AP
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/cfg80211.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/cfg80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.h b/drivers/net/wireless/mwifiex/cfg80211.h index 76c76c60438b..c5848934f111 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.h +++ b/drivers/net/wireless/mwifiex/cfg80211.h @@ -24,6 +24,6 @@ #include "main.h" -int mwifiex_register_cfg80211(struct mwifiex_private *); +int mwifiex_register_cfg80211(struct mwifiex_adapter *); #endif |