diff options
author | Eliad Peller <eliad@wizery.com> | 2014-07-11 03:01:35 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-07-15 15:59:59 -0400 |
commit | d8c5a48d2751086de9ed0ae9ff97ab094e2d534d (patch) | |
tree | da5b5e56b013cea835fb326fb9154be1e9c20232 /drivers | |
parent | fbddf587cbd1b75557267b674c8b42a677437c69 (diff) | |
download | op-kernel-dev-d8c5a48d2751086de9ed0ae9ff97ab094e2d534d.zip op-kernel-dev-d8c5a48d2751086de9ed0ae9ff97ab094e2d534d.tar.gz |
wlcore: register vendor commands
All the smart config code is in place now,
so register the relevant vendor commands.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index 01b4d9e..d92f578 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c @@ -37,6 +37,7 @@ #include "init.h" #include "debugfs.h" #include "testmode.h" +#include "vendor_cmd.h" #include "scan.h" #include "hw_ops.h" #include "sysfs.h" @@ -5875,6 +5876,9 @@ static int wl1271_init_ieee80211(struct wl1271 *wl) wl->hw->wiphy->iface_combinations = wl->iface_combinations; wl->hw->wiphy->n_iface_combinations = wl->n_iface_combinations; + /* register vendor commands */ + wlcore_set_vendor_commands(wl->hw->wiphy); + SET_IEEE80211_DEV(wl->hw, wl->dev); wl->hw->sta_data_size = sizeof(struct wl1271_station); |