summaryrefslogtreecommitdiff
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2022-01-11 13:59:43 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2022-01-11 13:59:43 +0100
commit2f2f523a31b8dd289394a2690c03a025b1de6e47 (patch)
tree0bbb2227da26836b396a243472edef1edcc3bf70 /net/mac80211/mlme.c
parent14d5042fdcd703bd08b3cc829aed4f39d448f398 (diff)
parentb0ee52316847cf279a1028334117985a5d633c0c (diff)
Merge 4.4.299 into android-4.4-p
Changes in 4.4.299 bpf, test: fix ld_abs + vlan push/pop stress test Bluetooth: btusb: Apply QCA Rome patches for some ATH3012 models ieee802154: atusb: fix uninit value in atusb_set_extended_addr mac80211: initialize variable have_higher_than_11mbit i40e: Fix incorrect netdev's real number of RX/TX queues sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate rndis_host: support Hytera digital radios phonet: refcount leak in pep_sock_accep scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown() ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate net: udp: fix alignment problem in udp4_seq_show() mISDN: change function names to avoid conflicts power: reset: ltc2952: Fix use of floating point literals Linux 4.4.299 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I0272e2e79cebce38fdb9ecb51f62be9d9effed7a
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 7e2f0cd94e62..f6887a41f85b 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -4431,7 +4431,7 @@ static int ieee80211_prep_connection(struct ieee80211_sub_if_data *sdata,
if (new_sta) {
u32 rates = 0, basic_rates = 0;
- bool have_higher_than_11mbit;
+ bool have_higher_than_11mbit = false;
int min_rate = INT_MAX, min_rate_index = -1;
struct ieee80211_chanctx_conf *chanctx_conf;
const struct cfg80211_bss_ies *ies;