3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 18:38:48 +02:00

hwsim: Pretty-print command name

Instead of just printing the command id, print the human readable name.
This commit is contained in:
Denis Kenzior 2021-12-27 13:29:11 -06:00
parent 1dcab170b6
commit 5333207207

View File

@ -1047,11 +1047,9 @@ static void hwsim_config(struct l_genl_msg *msg, void *user_data)
static void nl80211_config_notify(struct l_genl_msg *msg, void *user_data)
{
uint8_t cmd;
uint8_t cmd = l_genl_msg_get_command(msg);
cmd = l_genl_msg_get_command(msg);
l_debug("Notification of command %u", cmd);
l_debug("Config notification %s(%u)", nl80211cmd_to_string(cmd), cmd);
switch (cmd) {
case NL80211_CMD_NEW_WIPHY: