netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] rndis_host: support ETHTOOL_GPERMADDR
@ 2009-10-06 21:05 John W. Linville
  2009-10-06 21:39 ` Just "[PATCH]..." -- " John W. Linville
  0 siblings, 1 reply; 3+ messages in thread
From: John W. Linville @ 2009-10-06 21:05 UTC (permalink / raw)
  To: netdev; +Cc: John W. Linville

Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
 drivers/net/usb/rndis_host.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c
index d032bba..0caa800 100644
--- a/drivers/net/usb/rndis_host.c
+++ b/drivers/net/usb/rndis_host.c
@@ -418,6 +418,7 @@ generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags)
 		goto halt_fail_and_release;
 	}
 	memcpy(net->dev_addr, bp, ETH_ALEN);
+	memcpy(net->perm_addr, bp, ETH_ALEN);
 
 	/* set a nonzero filter to enable data transfers */
 	memset(u.set, 0, sizeof *u.set);
-- 
1.6.2.5


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

* Just "[PATCH]..." -- Re: [PATCH 1/5] rndis_host: support ETHTOOL_GPERMADDR
  2009-10-06 21:05 [PATCH 1/5] rndis_host: support ETHTOOL_GPERMADDR John W. Linville
@ 2009-10-06 21:39 ` John W. Linville
  2009-10-06 22:01   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: John W. Linville @ 2009-10-06 21:39 UTC (permalink / raw)
  To: netdev

On Tue, Oct 06, 2009 at 05:05:42PM -0400, John W. Linville wrote:
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
> ---
>  drivers/net/usb/rndis_host.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c
> index d032bba..0caa800 100644
> --- a/drivers/net/usb/rndis_host.c
> +++ b/drivers/net/usb/rndis_host.c
> @@ -418,6 +418,7 @@ generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags)
>  		goto halt_fail_and_release;
>  	}
>  	memcpy(net->dev_addr, bp, ETH_ALEN);
> +	memcpy(net->perm_addr, bp, ETH_ALEN);
>  
>  	/* set a nonzero filter to enable data transfers */
>  	memset(u.set, 0, sizeof *u.set);

Ooops...ignore the "1/5" part -- this is the only one...

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

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

* Re: Just "[PATCH]..." -- Re: [PATCH 1/5] rndis_host: support ETHTOOL_GPERMADDR
  2009-10-06 21:39 ` Just "[PATCH]..." -- " John W. Linville
@ 2009-10-06 22:01   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-10-06 22:01 UTC (permalink / raw)
  To: linville; +Cc: netdev

From: "John W. Linville" <linville@tuxdriver.com>
Date: Tue, 6 Oct 2009 17:39:25 -0400

> On Tue, Oct 06, 2009 at 05:05:42PM -0400, John W. Linville wrote:
>> Signed-off-by: John W. Linville <linville@tuxdriver.com>
>> ---
>>  drivers/net/usb/rndis_host.c |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>> 
>> diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c
>> index d032bba..0caa800 100644
>> --- a/drivers/net/usb/rndis_host.c
>> +++ b/drivers/net/usb/rndis_host.c
>> @@ -418,6 +418,7 @@ generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags)
>>  		goto halt_fail_and_release;
>>  	}
>>  	memcpy(net->dev_addr, bp, ETH_ALEN);
>> +	memcpy(net->perm_addr, bp, ETH_ALEN);
>>  
>>  	/* set a nonzero filter to enable data transfers */
>>  	memset(u.set, 0, sizeof *u.set);
> 
> Ooops...ignore the "1/5" part -- this is the only one...

Ok :-)

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

end of thread, other threads:[~2009-10-06 22:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-06 21:05 [PATCH 1/5] rndis_host: support ETHTOOL_GPERMADDR John W. Linville
2009-10-06 21:39 ` Just "[PATCH]..." -- " John W. Linville
2009-10-06 22:01   ` David Miller

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