mac802154: rx packet handle cleanup
authorVarka Bhadram <varkabhadram@gmail.com>
Fri, 12 Jun 2015 07:14:24 +0000 (12:44 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 14 Jun 2015 23:20:17 +0000 (01:20 +0200)
commit1bc1754e82f03c2c29b6e39ee02af48fa3bdef23
treeeca7edb04ca9f3ec76eb7147620de15a014ac2aa
parent5d667ef6e01be22343b07a1f5d5a976962e3103e
mac802154: rx packet handle cleanup

This patch replaces !netif_running(sdata->dev) with
!ieee802154_sdata_running(sdata) and also devide the
code two separate if branches.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/rx.c