diff options
Diffstat (limited to 'net/wireless/wext-sme.c')
-rw-r--r-- | net/wireless/wext-sme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c index 3b531d572b69..fe1987acb891 100644 --- a/net/wireless/wext-sme.c +++ b/net/wireless/wext-sme.c | |||
@@ -93,7 +93,7 @@ int cfg80211_mgd_wext_giwfreq(struct net_device *dev, | |||
93 | return -EINVAL; | 93 | return -EINVAL; |
94 | 94 | ||
95 | if (wdev->current_bss) | 95 | if (wdev->current_bss) |
96 | chan = wdev->current_bss->channel; | 96 | chan = wdev->current_bss->pub.channel; |
97 | else if (wdev->wext.connect.channel) | 97 | else if (wdev->wext.connect.channel) |
98 | chan = wdev->wext.connect.channel; | 98 | chan = wdev->wext.connect.channel; |
99 | 99 | ||
@@ -244,7 +244,7 @@ int cfg80211_mgd_wext_giwap(struct net_device *dev, | |||
244 | ap_addr->sa_family = ARPHRD_ETHER; | 244 | ap_addr->sa_family = ARPHRD_ETHER; |
245 | 245 | ||
246 | if (wdev->current_bss) | 246 | if (wdev->current_bss) |
247 | memcpy(ap_addr->sa_data, wdev->current_bss->bssid, ETH_ALEN); | 247 | memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); |
248 | else if (wdev->wext.connect.bssid) | 248 | else if (wdev->wext.connect.bssid) |
249 | memcpy(ap_addr->sa_data, wdev->wext.connect.bssid, ETH_ALEN); | 249 | memcpy(ap_addr->sa_data, wdev->wext.connect.bssid, ETH_ALEN); |
250 | else | 250 | else |