diff options
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 5a9a5c6c71db..97bb5c80125d 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -833,7 +833,7 @@ static int nl80211_set_interface(struct sk_buff *skb, struct genl_info *info) | |||
833 | 833 | ||
834 | if (dev && !err && (ntype != otype)) { | 834 | if (dev && !err && (ntype != otype)) { |
835 | if (otype == NL80211_IFTYPE_ADHOC) | 835 | if (otype == NL80211_IFTYPE_ADHOC) |
836 | cfg80211_clear_ibss(dev); | 836 | cfg80211_clear_ibss(dev, false); |
837 | } | 837 | } |
838 | 838 | ||
839 | unlock: | 839 | unlock: |
@@ -3249,7 +3249,7 @@ static int nl80211_leave_ibss(struct sk_buff *skb, struct genl_info *info) | |||
3249 | goto out; | 3249 | goto out; |
3250 | } | 3250 | } |
3251 | 3251 | ||
3252 | err = cfg80211_leave_ibss(drv, dev); | 3252 | err = cfg80211_leave_ibss(drv, dev, false); |
3253 | 3253 | ||
3254 | out: | 3254 | out: |
3255 | cfg80211_put_dev(drv); | 3255 | cfg80211_put_dev(drv); |