Skip to contentSkip to conversation

brcm80211: fix compile issue

PATCH Henry Ptasinski 3 participants 5 messages Feb 15, 2011 – Feb 18, 2011 3 messages not in the archive Staging

lore
Share & tools
lore
#3 lore raw
In reply to a message not in the archive
Quoted 4 lines · Stanislav Fomichev

Commit 59eb21a65047 "cfg80211: Extend channel to frequency mapping for 802.11j" changed the definition of the ieee80211_channel_to_frequency; so fix its usage in brcmfmac.

Commit 59eb21a65047 went into wireless-next a few weeks ago, but hasn't made it over to staging-next yet. Should John pick up this patch for wireless-next now, and it'll eventually migrate over to staging-next?

- Henry

#4 lore raw
Quoted 10 lines · Henry Ptasinski
Quoted 4 lines · Stanislav Fomichev

Commit 59eb21a65047 "cfg80211: Extend channel to frequency mapping for 802.11j" changed the definition of the ieee80211_channel_to_frequency; so fix its usage in brcmfmac.

Commit 59eb21a65047 went into wireless-next a few weeks ago, but hasn't made it over to staging-next yet. Should John pick up this patch for wireless-next now, and it'll eventually migrate over to staging-next?

If so, not only let me know but also resend a copy to me -- I haven't been tracking these...

John

Signature · 2 lines
John W. Linville                Someday the world will need a hero, and you
[email protected]                  might be all we have.  Be ready.
#5 lore raw
Quoted 7 lines · John W. Linville
Quoted 6 lines · Henry Ptasinski
Quoted 4 lines · Stanislav Fomichev

Commit 59eb21a65047 "cfg80211: Extend channel to frequency mapping for 802.11j" changed the definition of the ieee80211_channel_to_frequency; so fix its usage in brcmfmac.

Quoted 7 lines
Quoted 4 lines

Commit 59eb21a65047 went into wireless-next a few weeks ago, but hasn't made it over to staging-next yet. Should John pick up this patch for wireless-next now, and it'll eventually migrate over to staging-next?

If so, not only let me know but also resend a copy to me -- I haven't been tracking these...

Greg, any opinions? See any issues with making minimally-required changes over in wireless-next to track mac80211 API changes that you haven't picked up yet?

Thanks,
- Henry

#6 lore raw
Quoted 13 lines · Henry Ptasinski
Quoted 12 lines · John W. Linville
Quoted 10 lines · Henry Ptasinski
Quoted 4 lines · Stanislav Fomichev

Commit 59eb21a65047 "cfg80211: Extend channel to frequency mapping for 802.11j" changed the definition of the ieee80211_channel_to_frequency; so fix its usage in brcmfmac.

Commit 59eb21a65047 went into wireless-next a few weeks ago, but hasn't made it over to staging-next yet. Should John pick up this patch for wireless-next now, and it'll eventually migrate over to staging-next?

Quoted 7 lines
Quoted 2 lines

If so, not only let me know but also resend a copy to me -- I haven't been tracking these...

Greg, any opinions? See any issues with making minimally-required changes over in wireless-next to track mac80211 API changes that you haven't picked up yet?

No objection from me.

thanks,

greg k-h

#7 lore raw

Subject: [PATCH v3] wireless-next-2.6: brcm80211: fix compile issue

For wireless-next-2.6:

Commit 59eb21a65047 "cfg80211: Extend channel to frequency mapping for 802.11j" changed the definition of the ieee80211_channel_to_frequency; so fix its usage in brcmfmac.

---
 drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c +3 -1
index 991463f..9b7b71c 100644
@@ -2313,7 +2313,9 @@ static s32 wl_inform_single_bss(struct wl_priv *wl, struct wl_bss_info *bi)
 	notif_bss_info->frame_len =
 	    offsetof(struct ieee80211_mgmt,
 		     u.beacon.variable) + wl_get_ielen(wl);
-	freq = ieee80211_channel_to_frequency(notif_bss_info->channel);
+	freq = ieee80211_channel_to_frequency(notif_bss_info->channel,
+					      band->band);
+
 	channel = ieee80211_get_channel(wiphy, freq);
 
 	WL_DBG("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n",
Signature · 1 line
1.7.1