summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-05-09 20:09:03 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-05-11 15:24:07 -0400
commitcbe8fa9c5e88fd5f554ebc519af3b0ed17dde0dd (patch)
tree0ec44646879e49f7254ba15970ca9a168bc00d8f /include/net
parent4e943900fb9675d3a5ebdabc2cd4a9a54edace97 (diff)
downloadlinux-3.10-cbe8fa9c5e88fd5f554ebc519af3b0ed17dde0dd.tar.gz
linux-3.10-cbe8fa9c5e88fd5f554ebc519af3b0ed17dde0dd.tar.bz2
linux-3.10-cbe8fa9c5e88fd5f554ebc519af3b0ed17dde0dd.zip
cfg80211: put wext data into substructure
To make it more apparent in the code what is for wext only (and needs to be #ifdef'ed) put all the info for wext into a substruct in each wireless_dev. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 35afe973d46..4c748935ce5 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1147,8 +1147,10 @@ struct wireless_dev {
#ifdef CONFIG_WIRELESS_EXT
/* wext data */
- struct cfg80211_ibss_params wext;
- u8 wext_bssid[ETH_ALEN];
+ struct {
+ struct cfg80211_ibss_params ibss;
+ u8 bssid[ETH_ALEN];
+ } wext;
#endif
};