diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-06-27 17:31:18 +0300 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2016-06-30 12:06:19 +0200 |
commit | 49708e3772ce648be425778702a266b207e89d4e (patch) | |
tree | d546eccf12844402fd188171936f0705a92b69a7 /net/mac80211/tdls.c | |
parent | e98e915e11ad1efb11147122bd4932ec6b3425da (diff) | |
download | linux-stable-49708e3772ce648be425778702a266b207e89d4e.tar.gz linux-stable-49708e3772ce648be425778702a266b207e89d4e.tar.bz2 linux-stable-49708e3772ce648be425778702a266b207e89d4e.zip |
mac80211: silence an uninitialized variable warning
We normally return an uninitialized value, but no one checks it so it
doesn't matter. Anyway, let's silence the static checker warning.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'net/mac80211/tdls.c')
-rw-r--r-- | net/mac80211/tdls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/tdls.c b/net/mac80211/tdls.c index 1c7d45a6d93e..b5d28f14b9cf 100644 --- a/net/mac80211/tdls.c +++ b/net/mac80211/tdls.c @@ -1747,6 +1747,7 @@ ieee80211_process_tdls_channel_switch_resp(struct ieee80211_sub_if_data *sdata, goto out; } + ret = 0; call_drv: drv_tdls_recv_channel_switch(sdata->local, sdata, ¶ms); |