Fix a missing check for requeue for 2.6.28
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 9 Dec 2008 13:30:11 +0000 (05:30 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 9 Dec 2008 13:30:11 +0000 (05:30 -0800)
Signed-off-by: Daniel Bonniot <bonniot@users.sf.net>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat.diff

index 7e79d99795a64b1fb64c17cb26fde162011d6e61..58219534c2442c338bf5199fa2e23750ac948aac 100644 (file)
@@ -135,7 +135,7 @@ index 5a1a60f..e062c97 100644
  
        /* Send all buffered frames to the station */
        while ((skb = skb_dequeue(&sta->tx_filtered)) != NULL) {
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28))
++#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,28))
 +              dev_kfree_skb(skb);
 +#else
                sent++;