projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44049f0
)
radio-settings: Add additional sanity check
author
Denis Kenzior
<denkenz@gmail.com>
Wed, 10 Dec 2014 16:40:26 +0000
(10:40 -0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 10 Dec 2014 17:03:16 +0000
(11:03 -0600)
src/radio-settings.c
patch
|
blob
|
history
diff --git
a/src/radio-settings.c
b/src/radio-settings.c
index 8c8ca2647286b0bbaa48edafb86fc10f46bef523..b87e08102622e502e37d5ea0025e231b151793eb 100644
(file)
--- a/
src/radio-settings.c
+++ b/
src/radio-settings.c
@@
-404,7
+404,7
@@
static void radio_available_rats_query_callback(const struct ofono_error *error,
struct ofono_radio_settings *rs = data;
if (error->type == OFONO_ERROR_TYPE_NO_ERROR)
- rs->available_rats = available_rats;
+ rs->available_rats = available_rats
& 0x7
;
else
DBG("Error while querying available rats");