> > > > +void cfg80211_schedule_channels_check(struct net_device *netdev) > { > > > > + struct wireless_dev *wdev = netdev->ieee80211_ptr; > > > > + struct wiphy *wiphy = wdev->wiphy; > > > > + > > > > + /* Schedule channels check if NO_IR or DFS relaxations are > > > supported */ > > > > + if (wdev->iftype == NL80211_IFTYPE_STATION && > > > > + (wiphy_ext_feature_isset(wiphy, > > > > We do need wdev here, > > > > Oh right, I missed that, sorry. > > > I will change it to be wireless device instead > > > > No need I guess, if we're only going to check for it being a station? > Would we ever have a reason to call this for a p2p/nan device? I guess > not, since that doesn't affect regulatory in the same way? No, I don't think P2P/NAN devices can anyhow affect regulatory, for sure not for concurrent DFS case. > > johannes