Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7366c639 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cfg80211: Reset beacon interval when stop AP fails"

parents a0b1e8d4 cad60c35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ static int __cfg80211_stop_ap(struct cfg80211_registered_device *rdev,
		return -ENOENT;

	err = rdev_stop_ap(rdev, dev);
	if (!err) {
	wdev->beacon_interval = 0;
	if (!err) {
		memset(&wdev->chandef, 0, sizeof(wdev->chandef));
		wdev->ssid_len = 0;
		rdev_set_qos_map(rdev, dev, NULL);