Message ID | 1399634516-13089-1-git-send-email-luca@coelho.fi (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Fri, 2014-05-09 at 14:21 +0300, Luca Coelho wrote: > From: Luciano Coelho <luciano.coelho@intel.com> > > Commit 0be035a2 (mac80211: handle failed restart/resume better) broke > compilation: > > net/wireless/core.c: In function 'cfg80211_shutdown_all_interfaces': > net/wireless/core.c:215:9: error: implicit declaration of function 'wiphy_to_dev' [-Werror=implicit-function-declaration] > struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); > ^ > > This is due to the function name change from wiphy_to_dev() to > wiphy_to_rdev(). Yeah, my mistake, but I already had Fengguang's build bot flag it and fixed it already. Thanks though. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/wireless/core.c b/net/wireless/core.c index c95fddf..3978871 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -212,7 +212,7 @@ void cfg80211_stop_p2p_device(struct cfg80211_registered_device *rdev, void cfg80211_shutdown_all_interfaces(struct wiphy *wiphy) { - struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); + struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); struct wireless_dev *wdev; ASSERT_RTNL();