diff options
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 6afe896e5cb8..96d26cfae90b 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -253,7 +253,7 @@ static inline void hwsim_clear_chanctx_magic(struct ieee80211_chanctx_conf *c) | |||
253 | 253 | ||
254 | static unsigned int hwsim_net_id; | 254 | static unsigned int hwsim_net_id; |
255 | 255 | ||
256 | static struct ida hwsim_netgroup_ida = IDA_INIT; | 256 | static DEFINE_IDA(hwsim_netgroup_ida); |
257 | 257 | ||
258 | struct hwsim_net { | 258 | struct hwsim_net { |
259 | int netgroup; | 259 | int netgroup; |