]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/mesh_hwmp.c
mac80211: mesh hwmp: fix kfree(skb)
[linux-2.6-omap-h63xx.git] / net / mac80211 / mesh_hwmp.c
index 02de8f1522a3492edf8904942980564031f2cacf..af0cd1e3e2131136026b0851aad60f42db31825f 100644 (file)
@@ -7,7 +7,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <asm/unaligned.h>
 #include "mesh.h"
 
 #define TEST_FRAME_LEN 8192
@@ -121,7 +120,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
                *pos++ = WLAN_EID_PREP;
                break;
        default:
-               kfree(skb);
+               kfree_skb(skb);
                return -ENOTSUPP;
                break;
        }