projects
/
project
/
usteer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
local-node: check correct field
[project/usteer.git]
/
local_node.c
diff --git
a/local_node.c
b/local_node.c
index 9f4a2df41c997f2d43c9366996a56099ffc259c6..03d824eb0e497872850ad21f1981e3c18eb82be6 100644
(file)
--- a/
local_node.c
+++ b/
local_node.c
@@
-476,7
+476,7
@@
usteer_local_node_status_cb(struct ubus_request *req, int type, struct blob_attr
node->freq = blobmsg_get_u32(tb[MSG_FREQ]);
if (tb[MSG_CHANNEL])
node->channel = blobmsg_get_u32(tb[MSG_CHANNEL]);
- if (tb[MSG_
FREQ
])
+ if (tb[MSG_
OP_CLASS
])
node->op_class = blobmsg_get_u32(tb[MSG_OP_CLASS]);
}