David Woodhouse wrote:
> Change non-work invocations of ieee80211softmac_assoc_work() to use
> '&mac->associnfo.work.work' instead of just passing the 'mac' structure
> directly.
> 
> Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
> 
> diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c 
> b/net/ieee80211/softmac/ieee80211softmac_assoc.c
> index e3f37fd..4d270ed 100644
> --- a/net/ieee80211/softmac/ieee80211softmac_assoc.c
> +++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c
> @@ -167,7 +167,7 @@ static void
>  ieee80211softmac_assoc_notify_scan(struct net_device *dev, int event_type, 
> void *context)
>  {
>       struct ieee80211softmac_device *mac = ieee80211_priv(dev);
> -     ieee80211softmac_assoc_work((void*)mac);
> +     ieee80211softmac_assoc_work(&mac->associnfo.work.work);
>  }
>  
>  static void
> @@ -177,7 +177,7 @@ ieee80211softmac_assoc_notify_auth(struct net_device 
> *dev, int event_type, void
>  
>       switch (event_type) {
>       case IEEE80211SOFTMAC_EVENT_AUTHENTICATED:
> -             ieee80211softmac_assoc_work((void*)mac);
> +             ieee80211softmac_assoc_work(&mac->associnfo.work.work);
>               break;
>       case IEEE80211SOFTMAC_EVENT_AUTH_FAILED:
>       case IEEE80211SOFTMAC_EVENT_AUTH_TIMEOUT:

The same correction was proposed by Ulrich Kunitz on Dec. 10, and sent to 
Andrew on Dec. 11. It was 
also sent to John Linville, who pushed it to Jeff Garzik at about the same 
time. Somehow, the 
systems seems not to have propagated it into 2.6.20. Please send it along as it 
is a real show 
stopper for ieee80211softmac.

Larry
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to