X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Fwireless%2Fchan.c;h=da49c0b1fd32e211586b2e552cdc291dc26e215f;hb=53873f134d285191ef6435882d55837093a36c53;hp=a6631fb319c1ed06cfd6be2f215c5f05febfd0a4;hpb=8b9b2f06998f33bdd1774a9860ec60e945977384;p=cascardo%2Flinux.git diff --git a/net/wireless/chan.c b/net/wireless/chan.c index a6631fb319c1..da49c0b1fd32 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c @@ -739,7 +739,7 @@ static bool cfg80211_ir_permissive_chan(struct wiphy *wiphy, * and thus fail the GO instantiation, consider only the interfaces of * the current registered device. */ - list_for_each_entry(wdev, &rdev->wdev_list, list) { + list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { struct ieee80211_channel *other_chan = NULL; int r1, r2;