at86rf230: fix context pointer handling
authorAlexander Aring <alex.aring@gmail.com>
Mon, 15 Dec 2014 09:25:55 +0000 (10:25 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Dec 2014 23:19:25 +0000 (00:19 +0100)
commit4fef7d3b0151576019a7a055ffd18fced6e55944
tree5c7c686305add5c2862af0e6f0a92be3300016a1
parentfc50c6e36de742229492117d8e005102a1d21900
at86rf230: fix context pointer handling

This patch changes the context pointer to the parameter given one inside
function at86rf230_async_state_change_start. This could occur problem if
context isn't pointed to lp->state.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c