diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 915ecf87e4ac..eb0f59977676 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -369,7 +369,7 @@ static int ieee80211_ifa_changed(struct notifier_block *nb, | |||
369 | if (sdata->vif.type != NL80211_IFTYPE_STATION) | 369 | if (sdata->vif.type != NL80211_IFTYPE_STATION) |
370 | return NOTIFY_DONE; | 370 | return NOTIFY_DONE; |
371 | 371 | ||
372 | idev = sdata->dev->ip_ptr; | 372 | idev = __in_dev_get_rtnl(sdata->dev); |
373 | if (!idev) | 373 | if (!idev) |
374 | return NOTIFY_DONE; | 374 | return NOTIFY_DONE; |
375 | 375 | ||