diff options
Diffstat (limited to 'os/io/mac.c')
-rw-r--r-- | os/io/mac.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/os/io/mac.c b/os/io/mac.c index 0a2736458..d7c20df05 100644 --- a/os/io/mac.c +++ b/os/io/mac.c @@ -169,4 +169,17 @@ void macReleaseReceiveDescriptor(MACDriver *macp, mac_lld_release_receive_descriptor(macp, rdp);
}
+/**
+ * @brief Updates and returns the link status.
+ * + * @param[in] macp pointer to the @p MACDriver object
+ * @return The link status.
+ * @retval TRUE if the link is active.
+ * @retval FALSE if the link is down. + */
+bool_t macPollLinkStatus(MACDriver *macp) {
+
+ return mac_lld_poll_link_status(macp);
+}
+
/** @} */
|