#2073: compile error on
----------------------------------------+-----------------------------------
      Reporter:  [EMAIL PROTECTED]     |       Owner:        
          Type:  defect                 |      Status:  new   
      Priority:  critical               |   Milestone:        
     Component:  madwifi: 802.11 stack  |     Version:  v0.9.4
    Resolution:                         |    Keywords:        
Patch_attached:  1                      |  
----------------------------------------+-----------------------------------
Old description:

> madwifi 0.9.4 wont compile on opensuse 11 kernel 2.26.20-default
>
> the modelue 1eee80211_power.c has 2 errors   see below  marked with
> ******
> from both lines the 2 leading underscores must be deleted
> then make finish without errors
> i now run the drivers.
>
> /*
>          * Tag the frame with it's expiry time and insert
>          * it in the queue.  The aging interval is 4 times
>          * the listen interval specified by the station.
>          * Frames that sit around too long are reclaimed
>          * using this information.
>          */
>         /* XXX handle overflow? */
>         age = ((ni->ni_intval * ic->ic_lintval) << 2) / 1024; /* TU ->
> secs */
>         tail = skb_peek_tail(&ni->ni_savedq);
>         if (tail != NULL) {
>                 age -= M_AGE_GET(tail);
> ******          __skb_append(tail, skb, &ni->ni_savedq);
>         } else
> ******          __skb_queue_head(&ni->ni_savedq, skb);
>         M_AGE_SET(skb, age);
>         qlen = skb_queue_len(&ni->ni_savedq);
>         spin_unlock_irqrestore(&ni->ni_savedq.lock, flags);

New description:

 madwifi 0.9.4 wont compile on opensuse 11 kernel 2.26.20-default

 the modelue 1eee80211_power.c has 2 errors   see below  marked with ******
 from both lines the 2 leading underscores must be deleted
 then make finish without errors
 i now run the drivers.

 {{{
 /*
          * Tag the frame with it's expiry time and insert
          * it in the queue.  The aging interval is 4 times
          * the listen interval specified by the station.
          * Frames that sit around too long are reclaimed
          * using this information.
          */
         /* XXX handle overflow? */
         age = ((ni->ni_intval * ic->ic_lintval) << 2) / 1024; /* TU ->
 secs */
         tail = skb_peek_tail(&ni->ni_savedq);
         if (tail != NULL) {
                 age -= M_AGE_GET(tail);
 ******          __skb_append(tail, skb, &ni->ni_savedq);
         } else
 ******          __skb_queue_head(&ni->ni_savedq, skb);
         M_AGE_SET(skb, age);
         qlen = skb_queue_len(&ni->ni_savedq);
         spin_unlock_irqrestore(&ni->ni_savedq.lock, flags);
 }}}

Comment (by mrenzmann):

 Please verify if this problem also exists in trunk.

-- 
Ticket URL: <https://madwifi.org/ticket/2073#comment:1>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to