linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211: fix warning in ieee80211_probe_client
@ 2011-11-11 18:32 John W. Linville
  2011-11-11 19:03 ` Larry Finger
  2011-11-11 19:22 ` [PATCH] " Johannes Berg
  0 siblings, 2 replies; 6+ messages in thread
From: John W. Linville @ 2011-11-11 18:32 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg, John W. Linville

  CC [M]  net/mac80211/cfg.o
net/mac80211/cfg.c: In function ‘ieee80211_probe_client’:
net/mac80211/cfg.c:2567:7: warning: ‘qos’ may be used uninitialized in this function

Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
 net/mac80211/cfg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index c2416fb..1d82d2b 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -2564,7 +2564,7 @@ static int ieee80211_probe_client(struct wiphy *wiphy, struct net_device *dev,
 	struct sk_buff *skb;
 	int size = sizeof(*nullfunc);
 	__le16 fc;
-	bool qos;
+	bool qos = NULL;
 	struct ieee80211_tx_info *info;
 	struct sta_info *sta;
 
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-11 19:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 18:32 [PATCH] mac80211: fix warning in ieee80211_probe_client John W. Linville
2011-11-11 19:03 ` Larry Finger
2011-11-11 19:16   ` John W. Linville
2011-11-11 19:24   ` [PATCH v2] " John W. Linville
2011-11-11 19:22 ` [PATCH] " Johannes Berg
2011-11-11 19:29   ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).