You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
7848547561
commit
c238c8ac63
@@ -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;
|
||||
};
|
||||
struct cfg80211_ibss_params ibss;
|
||||
struct cfg80211_connect_params connect;
|
||||
u8 *ie;
|
||||
size_t ie_len;
|
||||
u8 bssid[ETH_ALEN];
|
||||
|
||||
Reference in New Issue
Block a user