3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

adhoc: removed unneeded check for !sta->addr

sta->addr is is guarenteed to be valid (assuming sta is valid).
This commit is contained in:
James Prestwood 2018-08-29 09:30:35 -07:00 committed by Denis Kenzior
parent 6f30384f77
commit 35231a1b2c

View File

@ -461,9 +461,6 @@ static void sta_append(void *data, void *user_data)
struct l_dbus_message_builder *builder = user_data;
const char* macstr;
if (!sta->addr)
return;
if (!sta->authenticated)
return;