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:
parent
6f30384f77
commit
35231a1b2c
@ -461,9 +461,6 @@ static void sta_append(void *data, void *user_data)
|
|||||||
struct l_dbus_message_builder *builder = user_data;
|
struct l_dbus_message_builder *builder = user_data;
|
||||||
const char* macstr;
|
const char* macstr;
|
||||||
|
|
||||||
if (!sta->addr)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (!sta->authenticated)
|
if (!sta->authenticated)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user