|
@@ -2213,7 +2213,7 @@ static int irda_getsockopt(struct socket *sock, int level, int optname,
|
|
|
{
|
|
|
struct sock *sk = sock->sk;
|
|
|
struct irda_sock *self = irda_sk(sk);
|
|
|
- struct irda_device_list list;
|
|
|
+ struct irda_device_list list = { 0 };
|
|
|
struct irda_device_info *discoveries;
|
|
|
struct irda_ias_set * ias_opt; /* IAS get/query params */
|
|
|
struct ias_object * ias_obj; /* Object in IAS */
|