Return-path: Received: from mail-vc0-f174.google.com ([209.85.220.174]:34082 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754224Ab2FYPdx (ORCPT ); Mon, 25 Jun 2012 11:33:53 -0400 MIME-Version: 1.0 In-Reply-To: References: <1340637550-12669-1-git-send-email-aletes.xgr@gmail.com> Date: Mon, 25 Jun 2012 12:33:51 -0300 Message-ID: (sfid-20120625_173412_830284_2046D7EC) Subject: Re: [PATCH] mac80211: fix build warning From: Alexandre Pereira da Silva To: Mohammed Shafi Cc: "John W. Linville" , Johannes Berg , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jun 25, 2012 at 12:31 PM, Mohammed Shafi wrote: > Hi, > > On Mon, Jun 25, 2012 at 8:49 PM, Alexandre Pereira da Silva > wrote: >> Fix: >> net/mac80211/mlme.c: In function 'ieee80211_prep_connection': >> net/mac80211/mlme.c:3035:19: warning: 'sta' may be used uninitialized in >> this function >> >> Initialize sta to NULL > > i think already fixed by and there in wireless-testing > http://www.spinics.net/lists/linux-wireless/msg92385.html Ok, thanks for pointing that out.