From: Luis R. Rodriguez Date: Tue, 9 Dec 2008 13:30:11 +0000 (-0800) Subject: Fix a missing check for requeue for 2.6.28 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bb48b0b44cdccf522a4038bb6a0d257df93fe4ab;p=openwrt%2Fstaging%2Fblogic.git Fix a missing check for requeue for 2.6.28 Signed-off-by: Daniel Bonniot Signed-off-by: Luis R. Rodriguez --- diff --git a/compat/compat.diff b/compat/compat.diff index 7e79d99795a6..58219534c244 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -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++;