OSDN Git Service

net: ieee802154: adf7242: Fix erroneous RX enable
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 25 Jun 2018 13:49:51 +0000 (16:49 +0300)
committerStefan Schmidt <stefan@datenfreihafen.org>
Mon, 9 Jul 2018 08:53:11 +0000 (10:53 +0200)
commit36d26d6b6208399070a9d7993534fef9fc26b1ba
tree73405ad42761f8a697f8fadbd4a9c3b044fa5a09
parent8f2fbc6c60ff213369e06a73610fc882a42fdf20
net: ieee802154: adf7242: Fix erroneous RX enable

Only enable RX mode if the netdev is opened.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/adf7242.c