Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Davide Pesavento" <davidepesa@gmail.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: "John Linville" <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] mac80211: fix build failure
Date: Thu, 11 Sep 2008 23:36:35 +0200	[thread overview]
Message-ID: <2da21fe50809111436v5bf231aeo13ac0eedcb59ce75@mail.gmail.com> (raw)
In-Reply-To: <1221168191.3742.2.camel@johannes.berg>

2008/9/11 Johannes Berg <johannes@sipsolutions.net>:
> The two patches
>        mac80211: share sta->supp_rates
> and
>        mac80211: share STA information with driver
>
> caused a build failure in some debugging code, this fixes it.
> Thanks to Davide Pesavento for bringing the issue to my attention.
>
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
> Cc: Davide Pesavento <davidepesa@gmail.com>
> ---
>  net/mac80211/mlme.c |    7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> --- everything.orig/net/mac80211/mlme.c 2008-09-11 23:20:53.000000000 +0200
> +++ everything/net/mac80211/mlme.c      2008-09-11 23:21:11.000000000 +0200
> @@ -1534,14 +1534,15 @@ static void ieee80211_rx_bss_info(struct
>                                ieee80211_mandatory_rates(local, band);
>
>  #ifdef CONFIG_MAC80211_IBSS_DEBUG
> -                       if (sta->supp_rates[band] != prev_rates)
> +                       if (sta->sta.supp_rates[band] != prev_rates)
>                                printk(KERN_DEBUG "%s: updated supp_rates set "
>                                    "for %s based on beacon info (0x%llx | "
>                                    "0x%llx -> 0x%llx)\n",
> -                                   sdata->dev->name, print_mac(mac, sta->addr),
> +                                   sdata->dev->name,
> +                                   print_mac(mac, sta->sta.addr),
>                                    (unsigned long long) prev_rates,
>                                    (unsigned long long) supp_rates,
> -                                   (unsigned long long) sta->supp_rates[band]);
> +                                   (unsigned long long) sta->sta.supp_rates[band]);
>  #endif
>                } else {
>                        ieee80211_ibss_add_sta(sdata, NULL, mgmt->bssid,
>
>
>

Thank you, this patch fixes the build failure I reported, but there's
another one... :P

  CC [M]  net/mac80211/tx.o
net/mac80211/tx.c: In function 'ieee80211_beacon_get':
net/mac80211/tx.c:1906: error: 'union <anonymous>' has no member named 'mesh'
make[2]: *** [net/mac80211/tx.o] Error 1
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2

  reply	other threads:[~2008-09-11 21:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 21:23 [PATCH] mac80211: fix build failure Johannes Berg
2008-09-11 21:36 ` Davide Pesavento [this message]
2008-09-11 22:13   ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2da21fe50809111436v5bf231aeo13ac0eedcb59ce75@mail.gmail.com \
    --to=davidepesa@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox