blob: bd19f20b263417fdb45a4b52390129ee12a179c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 04e5785..a251da1 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -4690,12 +4690,12 @@ struct wiphy {
static inline struct net *wiphy_net(struct wiphy *wiphy)
{
- return read_pnet(&wiphy->_net);
+ return possible_read_pnet(&wiphy->_net);
}
static inline void wiphy_net_set(struct wiphy *wiphy, struct net *net)
{
- write_pnet(&wiphy->_net, net);
+ possible_write_pnet(&wiphy->_net, net);
}
/**
|