Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b790d0f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Revert "ozwpan: replace alloc_skb with dev_alloc_skb in ozproto.c"



This reverts commit c3147965.

I shouldn't have applied it, my fault.

Cc: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dd3cef0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ static void oz_send_conn_rsp(struct oz_pd *pd, u8 status)
	struct oz_elt_connect_rsp *body;
	int sz = sizeof(struct oz_hdr) + sizeof(struct oz_elt) +
			sizeof(struct oz_elt_connect_rsp);
	skb = dev_alloc_skb(sz + OZ_ALLOCATED_SPACE(dev));
	skb = alloc_skb(sz + OZ_ALLOCATED_SPACE(dev), GFP_ATOMIC);
	if (skb == NULL)
		return;
	skb_reserve(skb, LL_RESERVED_SPACE(dev));