Search Linux Wireless

Re: [PATCH 1/3] libertas: fix build error due to undefined symbol

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

 



On Wed, 2010-06-23 at 10:37 -0400, John W. Linville wrote:
> ERROR: "mesh_handler_def" [drivers/net/wireless/libertas/libertas.ko] undefined!
> 
> Caused by a hunk missed by "Libertas: cfg80211 support" when building
> with CONFIG_WIRELESS_EXT enabled.
> 
> Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>

Acked-by: Dan Williams <dcbw@xxxxxxxxxx>

> ---
>  drivers/net/wireless/libertas/mesh.c |    3 ---
>  drivers/net/wireless/libertas/mesh.h |    5 -----
>  2 files changed, 0 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/net/wireless/libertas/mesh.c b/drivers/net/wireless/libertas/mesh.c
> index 00b36b0..bc5bc13 100644
> --- a/drivers/net/wireless/libertas/mesh.c
> +++ b/drivers/net/wireless/libertas/mesh.c
> @@ -370,9 +370,6 @@ int lbs_add_mesh(struct lbs_private *priv)
>  
>  	SET_NETDEV_DEV(priv->mesh_dev, priv->dev->dev.parent);
>  
> -#ifdef	WIRELESS_EXT
> -	mesh_dev->wireless_handlers = &mesh_handler_def;
> -#endif
>  	mesh_dev->flags |= IFF_BROADCAST | IFF_MULTICAST;
>  	/* Register virtual mesh interface */
>  	ret = register_netdev(mesh_dev);
> diff --git a/drivers/net/wireless/libertas/mesh.h b/drivers/net/wireless/libertas/mesh.h
> index e257330..84ea248 100644
> --- a/drivers/net/wireless/libertas/mesh.h
> +++ b/drivers/net/wireless/libertas/mesh.h
> @@ -70,11 +70,6 @@ void lbs_persist_config_init(struct net_device *net);
>  void lbs_persist_config_remove(struct net_device *net);
>  
> 
> -/* WEXT handler */
> -
> -extern struct iw_handler_def mesh_handler_def;
> -
> -
>  /* Ethtool statistics */
>  
>  struct ethtool_stats;


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