linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Mahesh Palivela <maheshp@posedge.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH v4 2/2] mac80211: VHT peer STA caps
Date: Wed, 10 Oct 2012 10:59:35 +0200	[thread overview]
Message-ID: <1349859575.4683.40.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <952C5D5D0470AE4FB7D8A75C6ADC71CA0FCFB278@mbx022-e1-nj-10.exch022.domain.local>


> +void ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata,
> +					 struct ieee80211_supported_band *sband,
> +					 struct ieee80211_vht_cap *vht_cap_ie,
> +					 struct ieee80211_sta_vht_cap *vht_cap)
> +{
> +	if (WARN_ON_ONCE(!vht_cap))
> +		return;
> +
> +	memset(vht_cap, 0, sizeof(*vht_cap));
> +
> +	if (!vht_cap_ie || !sband->vht_cap.vht_supported)
> +		return;
> +
> +	vht_cap->vht_supported = true;
> +
> +	vht_cap->cap = le16_to_cpu(vht_cap_ie->vht_cap_info);

This doesn't compile??

johannes


  reply	other threads:[~2012-10-10  8:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-10  8:49 [PATCH v4 2/2] mac80211: VHT peer STA caps Mahesh Palivela
2012-10-10  8:59 ` Johannes Berg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-03  4:30 Mahesh Palivela
2012-10-10  8:37 ` 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=1349859575.4683.40.camel@jlt4.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=maheshp@posedge.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;
as well as URLs for NNTP newsgroup(s).