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>
This commit is contained in:

committed by
John W. Linville

parent
e4da1a81a9
commit
602114ae59
@@ -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
|
||||
|
Reference in New Issue
Block a user