mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
hwsim: Pretty-print command name
Instead of just printing the command id, print the human readable name.
This commit is contained in:
parent
1dcab170b6
commit
5333207207
@ -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)
|
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("Config notification %s(%u)", nl80211cmd_to_string(cmd), cmd);
|
||||||
|
|
||||||
l_debug("Notification of command %u", cmd);
|
|
||||||
|
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
case NL80211_CMD_NEW_WIPHY:
|
case NL80211_CMD_NEW_WIPHY:
|
||||||
|
Loading…
Reference in New Issue
Block a user