[PATCH] libertas: wlan_scan_process_results fails to build due to missing variable

Dan Williams dcbw at redhat.com
Wed May 30 11:45:17 EDT 2007


On Fri, 2007-05-25 at 05:58 -0400, Andres Salomon wrote:
> It looks like the following commit removed 'i' from wlan_scan_process_results,
> but the variable was actually being used:
> 
> http://git.infradead.org/?p=libertas-2.6.git;a=commitdiff;h=d75cc5b338277ecbd1c3227084e447405ebe6838

Fixed in libertas-2.6 with 403eb874fd36c3b8af952e3ff4e6ea2af16c8cf5

Dan

> Signed-off-by: Andres Salomon <dilinger at debian.org>
> ---
>  drivers/net/wireless/libertas/scan.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c
> index 122031d..e8b15ba 100644
> --- a/drivers/net/wireless/libertas/scan.c
> +++ b/drivers/net/wireless/libertas/scan.c
> @@ -232,6 +232,7 @@ static void wlan_scan_process_results(wlan_private * priv)
>  {
>  	wlan_adapter *adapter = priv->adapter;
>  	struct bss_descriptor * iter_bss;
> +	int i = 0;
>  
>  	if (adapter->connect_status == libertas_connected)
>  		return;




More information about the libertas-dev mailing list