On Tue, 2012-07-31 at 13:32 +0200, Johannes Berg wrote: > +++ b/net/wireless/chan.c > @@ -143,6 +143,11 @@ cfg80211_get_chan_state(struct wireless_dev *wdev, > case NL80211_IFTYPE_WDS: A little earlier in this function this change is also needed: @@ -105,7 +105,7 @@ cfg80211_get_chan_state(struct wireless_dev *wdev, ASSERT_WDEV_LOCK(wdev); - if (!netif_running(wdev->netdev)) + if (wdev->netdev && !netif_running(wdev->netdev)) return; switch (wdev->iftype) { johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html