linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 1/4] brcm80211: fix compile issue
       [not found]   ` <20110215221200.GA2087@sdf-MacBook>
@ 2011-02-15 22:37     ` Henry Ptasinski
  2011-02-16  1:50       ` John W. Linville
  0 siblings, 1 reply; 5+ messages in thread
From: Henry Ptasinski @ 2011-02-15 22:37 UTC (permalink / raw)
  To: kernel, John W. Linville, Greg Korah-Hartman
  Cc: devel, linux-wireless@vger.kernel.org, Henry Ptasinski,
	Brett Rudley, Arend Van Spriel

On 02/15/2011 02:12 PM, Stanislav Fomichev wrote:
> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/4] brcm80211: fix compile issue
  2011-02-15 22:37     ` [PATCH v2 1/4] brcm80211: fix compile issue Henry Ptasinski
@ 2011-02-16  1:50       ` John W. Linville
  2011-02-18  2:46         ` Henry Ptasinski
  0 siblings, 1 reply; 5+ messages in thread
From: John W. Linville @ 2011-02-16  1:50 UTC (permalink / raw)
  To: Henry Ptasinski
  Cc: kernel, Greg Korah-Hartman, devel, linux-wireless@vger.kernel.org,
	Brett Rudley, Arend Van Spriel

On Tue, Feb 15, 2011 at 02:37:40PM -0800, Henry Ptasinski wrote:
> On 02/15/2011 02:12 PM, Stanislav Fomichev wrote:
> >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
-- 
John W. Linville                Someday the world will need a hero, and you
linville@tuxdriver.com                  might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/4] brcm80211: fix compile issue
  2011-02-16  1:50       ` John W. Linville
@ 2011-02-18  2:46         ` Henry Ptasinski
  2011-02-18  3:05           ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Henry Ptasinski @ 2011-02-18  2:46 UTC (permalink / raw)
  To: John W. Linville
  Cc: kernel@fomichev.me, Greg Korah-Hartman,
	devel@linuxdriverproject.org, linux-wireless@vger.kernel.org,
	Brett Rudley, Arend Van Spriel, Henry Ptasinski

On 02/15/2011 05:50 PM, John W. Linville wrote:
> On Tue, Feb 15, 2011 at 02:37:40PM -0800, Henry Ptasinski wrote:
>> On 02/15/2011 02:12 PM, Stanislav Fomichev wrote:
>>> 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...


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/4] brcm80211: fix compile issue
  2011-02-18  2:46         ` Henry Ptasinski
@ 2011-02-18  3:05           ` Greg KH
  2011-02-18  5:29             ` Subject: [PATCH v3] wireless-next-2.6: " Henry Ptasinski
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2011-02-18  3:05 UTC (permalink / raw)
  To: Henry Ptasinski
  Cc: John W. Linville, kernel@fomichev.me,
	devel@linuxdriverproject.org, linux-wireless@vger.kernel.org,
	Brett Rudley, Arend Van Spriel

On Thu, Feb 17, 2011 at 06:46:18PM -0800, Henry Ptasinski wrote:
> On 02/15/2011 05:50 PM, John W. Linville wrote:
> >On Tue, Feb 15, 2011 at 02:37:40PM -0800, Henry Ptasinski wrote:
> >>On 02/15/2011 02:12 PM, Stanislav Fomichev wrote:
> >>>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...
> 
> 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Subject: [PATCH v3] wireless-next-2.6: brcm80211: fix compile issue
  2011-02-18  3:05           ` Greg KH
@ 2011-02-18  5:29             ` Henry Ptasinski
  0 siblings, 0 replies; 5+ messages in thread
From: Henry Ptasinski @ 2011-02-18  5:29 UTC (permalink / raw)
  To: linville
  Cc: John W. Linville, kernel@fomichev.me,
	devel@linuxdriverproject.org, linux-wireless@vger.kernel.org,
	Brett Rudley, Arend Van Spriel, gregkh, Henry Ptasinski

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.

Signed-off-by: Stanislav Fomichev <kernel@fomichev.me>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
---
 drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
index 991463f..9b7b71c 100644
--- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
+++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
@@ -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",
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-18  5:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1297721111-20606-1-git-send-email-kernel@fomichev.me>
     [not found] ` <7A94256FD72B884D9E7C55586C3CBCEE13CDA25D88@SJEXCHCCR01.corp.ad.broadcom.com>
     [not found]   ` <20110215221200.GA2087@sdf-MacBook>
2011-02-15 22:37     ` [PATCH v2 1/4] brcm80211: fix compile issue Henry Ptasinski
2011-02-16  1:50       ` John W. Linville
2011-02-18  2:46         ` Henry Ptasinski
2011-02-18  3:05           ` Greg KH
2011-02-18  5:29             ` Subject: [PATCH v3] wireless-next-2.6: " Henry Ptasinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).