diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-12-13 12:15:09 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-04-12 08:44:01 +0300 |
commit | 8a9affc08d676a9fe627361ab6767cdec0740af3 (patch) | |
tree | 0ba701f39a5ac4cec80e033cf3c83131fc0d168d /drivers/net/wireless/ti/wlcore/hw_ops.h | |
parent | 9d68d1eea7fb4d05b5bd037da6a66329d640b2f1 (diff) | |
download | linux-8a9affc08d676a9fe627361ab6767cdec0740af3.tar.bz2 |
wlcore/wl12xx: add hw op for vif init
Add an op for family-specific vif initialization. Currently unused,
but will be needed when wl18xx support is implemented.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/hw_ops.h')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/hw_ops.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/hw_ops.h b/drivers/net/wireless/ti/wlcore/hw_ops.h index 9fc64295293f..6fc71430e963 100644 --- a/drivers/net/wireless/ti/wlcore/hw_ops.h +++ b/drivers/net/wireless/ti/wlcore/hw_ops.h @@ -93,4 +93,13 @@ static inline void wlcore_hw_tx_immediate_compl(struct wl1271 *wl) wl->ops->tx_immediate_compl(wl); } +static inline int +wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) +{ + if (wl->ops->init_vif) + return wl->ops->init_vif(wl, wlvif); + + return 0; +} + #endif |