Search Linux Wireless

Re: [PATCH] PS3: gelic: Link the wireless net_device structure to the corresponding device structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-02-22 at 16:45 +0900, Masakazu Mokuno wrote:
> Link the net_device structure of the wireless part to the
> corresponding device structure.  
> 
> Without this, the sysfs node for this net_device would not have
> 'device' link.
> 
> Signed-off-by: Masakazu Mokuno <mokuno@xxxxxxxxxxxxx>

Hmm; I must have missed this in the review.  But it does need to be
there, good catch.

Acked-by: Dan Williams <dcbw@xxxxxxxxxx>

> ---
>  drivers/net/ps3_gelic_wireless.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- a/drivers/net/ps3_gelic_wireless.c
> +++ b/drivers/net/ps3_gelic_wireless.c
> @@ -2690,6 +2690,7 @@ int gelic_wl_driver_probe(struct gelic_c
>  		return -ENOMEM;
>  
>  	/* setup net_device structure */
> +	SET_NETDEV_DEV(netdev, &card->dev->core);
>  	gelic_wl_setup_netdev_ops(netdev);
>  
>  	/* setup some of net_device and register it */
> 

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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux