diff options
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/compat/linuxkpi/common/include/net/cfg80211.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/cfg80211.h b/sys/compat/linuxkpi/common/include/net/cfg80211.h index f489e7a7da11..7780b265cf6b 100644 --- a/sys/compat/linuxkpi/common/include/net/cfg80211.h +++ b/sys/compat/linuxkpi/common/include/net/cfg80211.h @@ -33,6 +33,7 @@ #include <linux/types.h> #include <linux/nl80211.h> #include <linux/ieee80211.h> +#include <linux/mutex.h> #include <linux/if_ether.h> #include <linux/ethtool.h> #include <linux/device.h> @@ -1358,13 +1359,13 @@ wiphy_dev(struct wiphy *wiphy) static __inline void wiphy_lock(struct wiphy *wiphy) { - TODO(); + mutex_lock(&wiphy->mtx); } static __inline void wiphy_unlock(struct wiphy *wiphy) { - TODO(); + mutex_unlock(&wiphy->mtx); } static __inline void |
