Major changes for hardware interrupt handling

Michael Milligan milli
Mon Nov 25 19:55:06 PST 2002


Jouni Malinen wrote:
> I just finished committing major changes to hardware interrupt handling
> in the Host AP driver. Please do note, that the new code has not been
> tested throughly, so there may well be problems with it.

Trying this out with a 2.4.19 kernel.  Just checked out of CVS this 
afternoon.  Ran into a small problem (missing ampersand), here's a patch:

# diff -u -p kernel-source-2.4.19/drivers/net/wireless/hostap_ap.c.orig 
kernel-source-2.4.19/drivers/net/wireless/hostap_ap.c
--- kernel-source-2.4.19/drivers/net/wireless/hostap_ap.c.orig 
2002-11-25 14:32:43.000000000 -0700
+++ kernel-source-2.4.19/drivers/net/wireless/hostap_ap.c	2002-11-25 
20:47:58.000000000 -0700
@@ -1873,7 +1873,7 @@ static void handle_pspoll(local_info_t *
  	}
  	PDEBUG(DEBUG_PS2, "   aid=%d\n", aid);

-	spin_lock_bh(local->ap->sta_table_lock);
+	spin_lock_bh(&local->ap->sta_table_lock);
  	sta = ap_get_sta(local->ap, rxdesc->addr2);
  	if (sta)
  		atomic_inc(&sta->users);

Regards,
Mike

-- 
Michael Milligan  --  Free Agent  --  milli at acmeps.com





More information about the Hostap mailing list