Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Cc: linux-wireless@vger.kernel.org, yi.zhu@intel.com
Subject: Re: [PATCH V2] mac80211 : Fix mode change hard_start_xmit function
Date: Fri, 12 Sep 2008 22:46:24 +0200	[thread overview]
Message-ID: <1221252384.5576.22.camel@johannes.berg> (raw)
In-Reply-To: <1221252248-5830-1-git-send-email-abhijeet.kolekar@intel.com> (sfid-20080912_224415_246861_12E7D8D4)

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

On Fri, 2008-09-12 at 13:44 -0700, Abhijeet Kolekar wrote:
> When monitor mode is changed to BSS or IBSS, data trasnfer can not happen
> because proper transmit function is not assigend for BSS ,IBSS mode.
> This patch fixes this problem by assigning the ieee80211_subif_start_xmit
> to device's hard_start_xmit function.

>  	/* and set some type-dependent values */
>  	sdata->vif.type = type;
> +	sdata->dev->hard_start_xmit = ieee80211_subif_start_xmit;
>  
>  	/* only monitor differs */
>  	sdata->dev->type = ARPHRD_ETHER;

I'd have prefered if you'd put it along with "only monitor mode differs"
but heh :)

Acked-by: Johannes Berg <johannes@sipsolutions.net>

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2008-09-12 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 20:44 [PATCH V2] mac80211 : Fix mode change hard_start_xmit function Abhijeet Kolekar
2008-09-12 20:46 ` Johannes Berg [this message]

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=1221252384.5576.22.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=abhijeet.kolekar@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=yi.zhu@intel.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