session: fix enum mismatch in rpc_handle_get() and rpc_handle_set()
This commit is contained in:
parent
6128bf647c
commit
4c9f178ad6
1 changed files with 2 additions and 2 deletions
|
@ -621,7 +621,7 @@ rpc_handle_set(struct ubus_context *ctx, struct ubus_object *obj,
|
|||
struct blob_attr *msg)
|
||||
{
|
||||
struct rpc_session *ses;
|
||||
struct blob_attr *tb[__RPC_SA_MAX];
|
||||
struct blob_attr *tb[__RPC_SS_MAX];
|
||||
struct blob_attr *attr;
|
||||
int rem;
|
||||
|
||||
|
@ -651,7 +651,7 @@ rpc_handle_get(struct ubus_context *ctx, struct ubus_object *obj,
|
|||
{
|
||||
struct rpc_session *ses;
|
||||
struct rpc_session_data *data;
|
||||
struct blob_attr *tb[__RPC_SA_MAX];
|
||||
struct blob_attr *tb[__RPC_SG_MAX];
|
||||
struct blob_attr *attr;
|
||||
void *c;
|
||||
int rem;
|
||||
|
|
Loading…
Reference in a new issue