Commit ba5cc5b4 authored by Luotao Fu's avatar Luotao Fu

add set_bitrate callback

Signed-off-by: 's avatarLuotao Fu <l.fu@pengutronix.de>
parent 022be45e
......@@ -560,6 +560,15 @@ int scan_set_ctrlmode(const char *name, __u32 mode, __u32 flags)
return set_link(name, &req_info);
}
int scan_set_bitrate(const char *name, __u32 bitrate)
{
struct req_info req_info = {
.bitrate = bitrate,
};
return set_link(name, &req_info);
}
int scan_get_state(const char *name)
{
int fd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment