kernel-testers.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] make assocaittion only if SSID is known.
@ 2008-11-04 22:01 Alexey Fisher
       [not found] ` <1225836101-5723-1-git-send-email-bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Fisher @ 2008-11-04 22:01 UTC (permalink / raw)
  To: linux-wireless-u79uwXL29TY76Z2rM5mHXA
  Cc: linville-2XuSBdqkA4R54TAoqtyWWQ, rjw-KKrjLPT3xs0,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA, Alexey Fisher

'iwconfig eth1 channel 6' would trigger association to _something_, which is wrong.  Changing the channel should (and does) trigger reassociation, but only if there is an SSID to associate with!
---
 drivers/net/wireless/ipw2200.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index dcce354..d26beed 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -7581,8 +7581,7 @@ static int ipw_associate(void *data)
 	}
 
 	if (!(priv->config & CFG_ASSOCIATE) &&
-	    !(priv->config & (CFG_STATIC_ESSID |
-			      CFG_STATIC_CHANNEL | CFG_STATIC_BSSID))) {
+	    !(priv->config & (CFG_STATIC_ESSID | CFG_STATIC_BSSID))) {
 		IPW_DEBUG_ASSOC("Not attempting association (associate=0)\n");
 		return 0;
 	}
-- 
1.5.6.3

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

* Re: [PATCH] make assocaittion only if SSID is known.
       [not found] ` <1225836101-5723-1-git-send-email-bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org>
@ 2008-11-04 22:47   ` Dan Williams
       [not found]     ` <1225838828.22671.0.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Williams @ 2008-11-04 22:47 UTC (permalink / raw)
  To: Alexey Fisher
  Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linville-2XuSBdqkA4R54TAoqtyWWQ, rjw-KKrjLPT3xs0,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA

On Tue, 2008-11-04 at 23:01 +0100, Alexey Fisher wrote:
> 'iwconfig eth1 channel 6' would trigger association to _something_, which is wrong.  Changing the channel should (and does) trigger reassociation, but only if there is an SSID to associate with!

Heh :)  Need the Signed-off-by: here too though.

Dan


>  drivers/net/wireless/ipw2200.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
> index dcce354..d26beed 100644
> --- a/drivers/net/wireless/ipw2200.c
> +++ b/drivers/net/wireless/ipw2200.c
> @@ -7581,8 +7581,7 @@ static int ipw_associate(void *data)
>  	}
>  
>  	if (!(priv->config & CFG_ASSOCIATE) &&
> -	    !(priv->config & (CFG_STATIC_ESSID |
> -			      CFG_STATIC_CHANNEL | CFG_STATIC_BSSID))) {
> +	    !(priv->config & (CFG_STATIC_ESSID | CFG_STATIC_BSSID))) {
>  		IPW_DEBUG_ASSOC("Not attempting association (associate=0)\n");
>  		return 0;
>  	}

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] make assocaittion only if SSID is known.
       [not found]     ` <1225838828.22671.0.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2008-11-05  5:25       ` Kalle Valo
       [not found]         ` <871vxq217k.fsf-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2008-11-05  5:25 UTC (permalink / raw)
  To: Dan Williams
  Cc: Alexey Fisher, linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linville-2XuSBdqkA4R54TAoqtyWWQ, rjw-KKrjLPT3xs0,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA

Dan Williams <dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> writes:

> On Tue, 2008-11-04 at 23:01 +0100, Alexey Fisher wrote:
>> 'iwconfig eth1 channel 6' would trigger association to _something_,
>> which is wrong. Changing the channel should (and does) trigger
>> reassociation, but only if there is an SSID to associate with!
>
> Heh :)  Need the Signed-off-by: here too though.

And the subject should contain the driver name, for example like this:

[PATCH] ipw2200: associate only when SSID is known

-- 
Kalle Valo

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

* Re: [PATCH] make assocaittion only if SSID is known.
       [not found]         ` <871vxq217k.fsf-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
@ 2008-11-05  8:59           ` Alexey Fisher
  2008-11-05 10:20             ` Kalle Valo
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Fisher @ 2008-11-05  8:59 UTC (permalink / raw)
  To: Kalle Valo
  Cc: Dan Williams, linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linville-2XuSBdqkA4R54TAoqtyWWQ, rjw-KKrjLPT3xs0,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA

Am Mittwoch, den 05.11.2008, 07:25 +0200 schrieb Kalle Valo:
> Dan Williams <dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> writes:
> 
> > On Tue, 2008-11-04 at 23:01 +0100, Alexey Fisher wrote:
> >> 'iwconfig eth1 channel 6' would trigger association to _something_,
> >> which is wrong. Changing the channel should (and does) trigger
> >> reassociation, but only if there is an SSID to associate with!
> >
> > Heh :)  Need the Signed-off-by: here too though.
> 
> And the subject should contain the driver name, for example like this:

I found some time to _read_ linux-2.6/Documentation/Submit* ! ;)
but i think it need some "howto submit the patch with git". My englisch
is to bad to make documentation. Here was my steps:

$git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
$git pull
$vi make/changes
$git-commit -a
$git-log -p ORIG_HEAD..
$mkdir ../pending
$git-format-patch ORIG_HEAD.. -o ../pending/
$vi ../pending/0001-ipw2200.patch
$git-send-email --cc kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org --to
linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org --from "Alexey Fisher
<bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org>" --smtp-server mail.gmx.net --smtp-user
me-hi6Y0CQ0nG0@public.gmane.org --smtp-ssl  ../pending/0001-ipw2200.patch 

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] make assocaittion only if SSID is known.
  2008-11-05  8:59           ` Alexey Fisher
@ 2008-11-05 10:20             ` Kalle Valo
  0 siblings, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2008-11-05 10:20 UTC (permalink / raw)
  To: Alexey Fisher
  Cc: Dan Williams, linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linville-2XuSBdqkA4R54TAoqtyWWQ, rjw-KKrjLPT3xs0,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA

Alexey Fisher <bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org> writes:

> Am Mittwoch, den 05.11.2008, 07:25 +0200 schrieb Kalle Valo:
>> Dan Williams <dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> writes:
>> 
>> > On Tue, 2008-11-04 at 23:01 +0100, Alexey Fisher wrote:
>> >> 'iwconfig eth1 channel 6' would trigger association to _something_,
>> >> which is wrong. Changing the channel should (and does) trigger
>> >> reassociation, but only if there is an SSID to associate with!
>> >
>> > Heh :)  Need the Signed-off-by: here too though.
>> 
>> And the subject should contain the driver name, for example like this:
>
> I found some time to _read_ linux-2.6/Documentation/Submit* ! ;)
> but i think it need some "howto submit the patch with git". My englisch
> is to bad to make documentation. Here was my steps:
>
> $git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> $git pull
> $vi make/changes
> $git-commit -a

In this phase just write the commit log in this style:

----------------------------------------------------------------------
stlc45xx: fix bug in blah blah

stlc45xx was really broken in blah blah blah, I had
to blah blah blah.

Signed-off-by: Kalle Valo <kalle.valo-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
----------------------------------------------------------------------

git will take care of the rest.

-- 
Kalle Valo

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

end of thread, other threads:[~2008-11-05 10:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04 22:01 [PATCH] make assocaittion only if SSID is known Alexey Fisher
     [not found] ` <1225836101-5723-1-git-send-email-bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org>
2008-11-04 22:47   ` Dan Williams
     [not found]     ` <1225838828.22671.0.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-11-05  5:25       ` Kalle Valo
     [not found]         ` <871vxq217k.fsf-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2008-11-05  8:59           ` Alexey Fisher
2008-11-05 10:20             ` Kalle Valo

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).