blob: 0fc1d23eb8e5782fc4dbc7b108cc2bcd6e32bff3 (
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
@@ -4171,12 +4171,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);
}
/**
|