aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 4935b843bcca..b8cf2821f00d 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -362,7 +362,7 @@ static int ieee80211_ifa_changed(struct notifier_block *nb,
362 if (sdata->vif.type != NL80211_IFTYPE_STATION) 362 if (sdata->vif.type != NL80211_IFTYPE_STATION)
363 return NOTIFY_DONE; 363 return NOTIFY_DONE;
364 364
365 idev = sdata->dev->ip_ptr; 365 idev = __in_dev_get_rtnl(sdata->dev);
366 if (!idev) 366 if (!idev)
367 return NOTIFY_DONE; 367 return NOTIFY_DONE;
368 368