Stefan Schmidt e5719b661a ieee802154/mrf24j40: make sure we do not override return values
If we run into an error during rx we set the the error code in ret, but override
it afterwards. Using a different variable for the extra case avoids this
situation.

CID: 1226982, 1226983
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Cc: Alan Ott <alan@signal11.us>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-06-09 10:55:36 +02:00
..
2015-05-30 23:35:34 -07:00
2015-05-22 15:10:07 -07:00
2015-05-05 08:42:06 -07:00
2015-04-22 09:18:17 -07:00
2015-04-21 09:42:58 -07:00
2015-05-18 10:01:54 -07:00
2015-04-07 12:05:12 +02:00
2015-04-16 14:01:03 -05:00
2015-04-22 09:04:39 -07:00
2015-04-13 17:07:21 -07:00
2015-03-31 12:01:19 -04:00
2015-05-21 20:19:38 -07:00
2015-05-14 12:43:36 -07:00
2015-04-20 15:16:25 -07:00