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

Commit c238c8ac authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

cfg80211: dont use union for wext



Otherwise it becomes very hard to reset the structs
correctly since wext can be configured while the
interface is down.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 78485475
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1270,10 +1270,8 @@ struct wireless_dev {
#ifdef CONFIG_WIRELESS_EXT
	/* wext data */
	struct {
		union {
		struct cfg80211_ibss_params ibss;
		struct cfg80211_connect_params connect;
		};
		u8 *ie;
		size_t ie_len;
		u8 bssid[ETH_ALEN];