iface.c (e5e584fcc26b6b2225855b6fdba64d90dd8e2ea6) | iface.c (c5c47e67bcd24638a059b1b5e9ec18c95f8634ca) |
---|---|
1/* 2 * Copyright 2007-2012 Siemens AG 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 6 * as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 362 unchanged lines hidden (view full) --- 371 sdata->pan_id = cpu_to_le16(IEEE802154_PANID_BROADCAST); 372 sdata->short_addr = cpu_to_le16(IEEE802154_ADDR_BROADCAST); 373 374 mac802154_llsec_init(&sdata->sec); 375} 376 377static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb) 378{ | 1/* 2 * Copyright 2007-2012 Siemens AG 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 6 * as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 362 unchanged lines hidden (view full) --- 371 sdata->pan_id = cpu_to_le16(IEEE802154_PANID_BROADCAST); 372 sdata->short_addr = cpu_to_le16(IEEE802154_ADDR_BROADCAST); 373 374 mac802154_llsec_init(&sdata->sec); 375} 376 377static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb) 378{ |
379 return netif_rx_ni(skb); | 379 return netif_receive_skb(skb); |
380} 381 382static int 383mac802154_subif_frame(struct ieee802154_sub_if_data *sdata, struct sk_buff *skb, 384 const struct ieee802154_hdr *hdr) 385{ 386 __le16 span, sshort; 387 int rc; --- 174 unchanged lines hidden --- | 380} 381 382static int 383mac802154_subif_frame(struct ieee802154_sub_if_data *sdata, struct sk_buff *skb, 384 const struct ieee802154_hdr *hdr) 385{ 386 __le16 span, sshort; 387 int rc; --- 174 unchanged lines hidden --- |