raw: fix compile error
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
d562840fbb
commit
a53a5440f9
|
@ -12,7 +12,7 @@ extern "C" {
|
||||||
|
|
||||||
struct dect_raw_ops {
|
struct dect_raw_ops {
|
||||||
void (*raw_rcv)(struct dect_handle *dh, struct dect_fd *dfd,
|
void (*raw_rcv)(struct dect_handle *dh, struct dect_fd *dfd,
|
||||||
uint8_t slot, struct dect_msg_buf *mb);
|
struct dect_msg_buf *mb);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct dect_fd *dect_raw_socket(struct dect_handle *dh);
|
extern struct dect_fd *dect_raw_socket(struct dect_handle *dh);
|
||||||
|
|
|
@ -137,7 +137,7 @@ static void dect_raw_event(struct dect_handle *dh, struct dect_fd *dfd,
|
||||||
|
|
||||||
mb->mfn = aux->mfn;
|
mb->mfn = aux->mfn;
|
||||||
mb->frame = aux->frame;
|
mb->frame = aux->frame;
|
||||||
mb->slot = slot;
|
mb->slot = aux->slot;
|
||||||
|
|
||||||
dh->ops->raw_ops->raw_rcv(dh, dfd, mb);
|
dh->ops->raw_ops->raw_rcv(dh, dfd, mb);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue