From: Johannes Berg <johannes@sipsolutions.net>
To: Matt Chen <machen@suse.com>
Cc: users@rt2x00.serialmonkey.com,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: About the .start function in ieee80211_ops.
Date: Wed, 21 Mar 2012 08:41:09 +0100 [thread overview]
Message-ID: <1332315669.3418.0.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <CALx5=V_0pio6ycdEmChs18747Rvxr_-m-pyicx-hQWdhEb+Y8g@mail.gmail.com>
On Wed, 2012-03-21 at 14:57 +0800, Matt Chen wrote:
> >> > That's a bug in the driver then -- it should probably start the rfkill
> >> > stuff without mac80211's start() command. start() is only called when
> >> > the first interface comes up, but that will never happen if it's in
> >> > rfkill block.
> >> Do you have any idea which part of code would make the first interface
> >> comes up ? :)
> >> Would that be in cfg80211 ?
> >
> > No code? You, as the user, running "ip link set wlan0 up" or
> > network-manager doing something similar etc.
> Big thank you for the information. :)
> For rt2x00, is this the only way to make the driver executing the .run
> function in ieee80211_ops structure definition ?
You mean .start, and yes :)
johannes
prev parent reply other threads:[~2012-03-21 7:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 6:02 About the .start function in ieee80211_ops Matt Chen
2012-03-20 6:19 ` Johannes Berg
2012-03-20 12:29 ` Matt Chen
2012-03-20 12:31 ` Johannes Berg
2012-03-21 6:57 ` Matt Chen
2012-03-21 7:41 ` 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=1332315669.3418.0.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=machen@suse.com \
--cc=users@rt2x00.serialmonkey.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).