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

Andres Salomon dilinger at debian.org
Fri May 25 05:58:40 EDT 2007


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

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




More information about the libertas-dev mailing list