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

Commit 03360c5a authored by John W. Linville's avatar John W. Linville
Browse files

Revert "mac80211: clear sta.drv_priv on reconfiguration"



This reverts commit f785d83a.

This was provoking WARNINGs from the iwlegacy drivers.

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c72e8d33
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1038,7 +1038,6 @@ int ieee80211_reconfig(struct ieee80211_local *local)
					     struct ieee80211_sub_if_data,
					     u.ap);

			memset(&sta->sta.drv_priv, 0, hw->sta_data_size);
			WARN_ON(drv_sta_add(local, sdata, &sta->sta));
		}
	}