mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
dpp: print error if CMD_FRAME fails
This commit is contained in:
parent
07197e24fc
commit
14217e6ca4
@ -282,9 +282,10 @@ static void dpp_free(struct dpp_sm *dpp)
|
||||
static void dpp_send_frame_cb(struct l_genl_msg *msg, void *user_data)
|
||||
{
|
||||
struct dpp_sm *dpp = user_data;
|
||||
int err = l_genl_msg_get_error(msg);
|
||||
|
||||
if (l_genl_msg_get_error(msg) < 0) {
|
||||
l_error("Error sending frame");
|
||||
if (err < 0) {
|
||||
l_error("Error sending frame (%d)", err);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user