diff options
-rw-r--r-- | drivers/staging/wlan-ng/cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c index a7d24c95191d..7dd2b95416e8 100644 --- a/drivers/staging/wlan-ng/cfg80211.c +++ b/drivers/staging/wlan-ng/cfg80211.c | |||
@@ -416,7 +416,7 @@ static int prism2_scan(struct wiphy *wiphy, | |||
416 | memcpy(&ie_buf[2], &(msg2.ssid.data.data), msg2.ssid.data.len); | 416 | memcpy(&ie_buf[2], &(msg2.ssid.data.data), msg2.ssid.data.len); |
417 | bss = cfg80211_inform_bss(wiphy, | 417 | bss = cfg80211_inform_bss(wiphy, |
418 | ieee80211_get_channel(wiphy, | 418 | ieee80211_get_channel(wiphy, |
419 | ieee80211_dsss_chan_to_freq(msg2.dschannel.data)), | 419 | ieee80211_channel_to_frequency(msg2.dschannel.data, IEEE80211_BAND_2GHZ)), |
420 | (const u8 *) &(msg2.bssid.data.data), | 420 | (const u8 *) &(msg2.bssid.data.data), |
421 | msg2.timestamp.data, msg2.capinfo.data, | 421 | msg2.timestamp.data, msg2.capinfo.data, |
422 | msg2.beaconperiod.data, | 422 | msg2.beaconperiod.data, |