UPSTREAM: mac80211: fix "warning: ‘target_metric’ may be used uninitialized"

This fixes:

net/mac80211/mesh_hwmp.c:603:26: warning: ‘target_metric’ may be used uninitialized in this function

target_metric is only consumed when reply = true so no bug exists here,
but not all versions of gcc realize it.  Initialize to 0 to remove the
warning.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Bug: None
Patchset: net-mac80211-target-metric-warning

(cherry-picked from b4201cc4fc6e1c57d6d306b1f787865043d60129)
Signed-off-by: Mattias Nissler <mnissler@google.com>

Change-Id: Iee90826d8a0b7db8eb2e19c3e567dfe779c99f7a
1 file changed