[svn-upgrade] new version madwifi (0.9.4+r4139.20110504)
[debian/madwifi.git] / net80211 / ieee80211_power.c
index c8aa16e832052d7a90618b00d6f829bc0e3ffc8e..270af4b0cd2bf6d558a09bea5ea7f5a1dbd08bf8 100644 (file)
@@ -29,7 +29,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $Id: ieee80211_power.c 4136 2011-02-02 21:22:31Z proski $
+ * $Id: ieee80211_power.c 4139 2011-05-03 22:07:34Z proski $
  */
 #ifndef EXPORT_SYMTAB
 #define        EXPORT_SYMTAB
  */
 #ifndef EXPORT_SYMTAB
 #define        EXPORT_SYMTAB
@@ -293,10 +293,9 @@ ieee80211_node_pwrsave(struct ieee80211_node *ni, int enable)
                IEEE80211_NODE_SAVEQ_QLEN(ni));
        for (;;) {
                struct sk_buff *skb;
                IEEE80211_NODE_SAVEQ_QLEN(ni));
        for (;;) {
                struct sk_buff *skb;
-               int qlen;
 
                IEEE80211_NODE_SAVEQ_LOCK(ni);
 
                IEEE80211_NODE_SAVEQ_LOCK(ni);
-               IEEE80211_NODE_SAVEQ_DEQUEUE(ni, skb, qlen);
+               IEEE80211_NODE_SAVEQ_DEQUEUE(ni, skb);
                IEEE80211_NODE_SAVEQ_UNLOCK(ni);
                if (skb == NULL)
                        break;
                IEEE80211_NODE_SAVEQ_UNLOCK(ni);
                if (skb == NULL)
                        break;