diff options
author | David Vrabel <david.vrabel@csr.com> | 2008-11-17 16:16:51 (GMT) |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2008-11-19 14:47:04 (GMT) |
commit | e8e1594c8126b1b773988fa2e3bfec76cff88336 (patch) | |
tree | afa666ce45d8652880855b04a26755e4e5182e01 /include/linux/wlp.h | |
parent | 6fae35f9cea92793a98b2d9ab21235e5ae035581 (diff) | |
download | linux-fsl-qoriq-e8e1594c8126b1b773988fa2e3bfec76cff88336.tar.xz |
wlp: start/stop radio on network interface up/down
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'include/linux/wlp.h')
-rw-r--r-- | include/linux/wlp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/wlp.h b/include/linux/wlp.h index 033545e..ac95ce6 100644 --- a/include/linux/wlp.h +++ b/include/linux/wlp.h @@ -646,6 +646,7 @@ struct wlp_wss { struct wlp { struct mutex mutex; struct uwb_rc *rc; /* UWB radio controller */ + struct net_device *ndev; struct uwb_pal pal; struct wlp_eda eda; struct wlp_uuid uuid; @@ -675,7 +676,7 @@ struct wlp_wss_attribute { static struct wlp_wss_attribute wss_attr_##_name = __ATTR(_name, _mode, \ _show, _store) -extern int wlp_setup(struct wlp *, struct uwb_rc *); +extern int wlp_setup(struct wlp *, struct uwb_rc *, struct net_device *ndev); extern void wlp_remove(struct wlp *); extern ssize_t wlp_neighborhood_show(struct wlp *, char *); extern int wlp_wss_setup(struct net_device *, struct wlp_wss *); |