diff options
Diffstat (limited to '')
-rw-r--r-- | net/wireless/nl80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 6a45801c783c..efdf0148a8fa 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -18558,6 +18558,9 @@ void cfg80211_ch_switch_notify(struct net_device *dev, case NL80211_IFTYPE_P2P_GO: wdev->links[link_id].ap.chandef = *chandef; break; + case NL80211_IFTYPE_ADHOC: + wdev->u.ibss.chandef = *chandef; + break; default: WARN_ON(1); break; |