diff options
author | Holger Schurig <holgerschurig@googlemail.com> | 2009-12-02 15:26:01 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-22 13:38:29 -0500 |
commit | 602114ae595af6c89eab149cf9f939e3f7ef4a34 (patch) | |
tree | 560c6d362b846131630861998915a7407aaf9343 /drivers/net/wireless/libertas/mesh.h | |
parent | e4da1a81a967c05dfde6f0498cff1f6fe6683f52 (diff) |
libertas: add access functions for mesh open/connect status
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/mesh.h')
-rw-r--r-- | drivers/net/wireless/libertas/mesh.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/mesh.h b/drivers/net/wireless/libertas/mesh.h index b642d5d1169..388c39281b7 100644 --- a/drivers/net/wireless/libertas/mesh.h +++ b/drivers/net/wireless/libertas/mesh.h @@ -84,4 +84,10 @@ void lbs_mesh_ethtool_get_strings(struct net_device *dev, uint32_t stringset, uint8_t *s); +/* Accessors */ + +#define lbs_mesh_open(priv) (priv->mesh_open) +#define lbs_mesh_connected(priv) (priv->mesh_connect_status == LBS_CONNECTED) + + #endif |