staging: pi433: Fix missing 'undefined' value in enum modulation
authorMarcin Ciupak <marcin.s.ciupak@gmail.com>
Fri, 8 Dec 2017 15:31:28 +0000 (15:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2017 15:36:35 +0000 (16:36 +0100)
commit1c12da3576ce2a37dd59a5648b7c41656d06ae47
tree653eb711393f9456825c1244cc77cc67b6c54223
parent8b26315ec780a7e4791222420c31cbc3c1125700
staging: pi433: Fix missing 'undefined' value in enum modulation

It is possible that rf69_get_modulation() function will return
'undefined' value and this value is missing in enum modulation. Fix this
by adding appropriate entry in enum modulation.

Signed-off-by: Marcin Ciupak <marcin.s.ciupak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/rf69.c
drivers/staging/pi433/rf69_enum.h