3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

hwsim: Fixup minor style issues

This commit is contained in:
Denis Kenzior 2014-11-14 22:17:30 -06:00
parent 55ddc6f49e
commit ff30bb86dd

View File

@ -178,7 +178,6 @@ static void list_callback(struct l_genl_msg *msg, void *user_data)
}
while (l_genl_attr_next(&attr, &type, &len, &data)) {
switch (type) {
case HWSIM_ATTR_RADIO_ID:
if (len == 4)
@ -269,6 +268,7 @@ static void hwsim_ready(void *user_data)
} else if (list_action) {
msg = l_genl_msg_new_sized(HWSIM_CMD_GET_RADIO,
list_option ? 8: 4);
if (list_option) {
uint32_t id = atoi(list_option);
l_genl_msg_append_attr(msg, HWSIM_ATTR_RADIO_ID,