staging: pi433: remove unnecessary calling rf69_set_mode()
authorSidong Yang <realwakka@gmail.com>
Sun, 24 Mar 2019 14:54:41 +0000 (14:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2019 20:49:11 +0000 (05:49 +0900)
commite5adddf5ae97811abe917b267a0d11daec5ccc16
treede81d980e7c9bbe8d5014e2fba973d1d2b839054
parent344201e0f866853e739cf1eb073ca4c8a5823b24
staging: pi433: remove unnecessary calling rf69_set_mode()

Remove unnecessary rf69_set_mode() function call when rx is waiting for
a telegram. There is waste to call rf69_set_mode() twice for becoming
standby mode.

Signed-off-by: Sidong Yang <realwakka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/pi433_if.c