OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8469cde
)
wireless: fix two bad print_ssid conversions
author
Holger Schurig
<hs4233@mail.mn-solutions.de>
Wed, 29 Oct 2008 08:43:50 +0000
(09:43 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 10 Nov 2008 20:17:33 +0000
(15:17 -0500)
This patch fixes two current compilation problems. They showed up
with CONFIG_IEEE80211_DEBUG defined.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_wx.c
patch
|
blob
|
history
diff --git
a/net/ieee80211/ieee80211_wx.c
b/net/ieee80211/ieee80211_wx.c
index
29eb416
..
7cc4e5e
100644
(file)
--- a/
net/ieee80211/ieee80211_wx.c
+++ b/
net/ieee80211/ieee80211_wx.c
@@
-399,6
+399,10
@@
int ieee80211_wx_set_encode(struct ieee80211_device *ieee,
/* If a new key was provided, set it up */
if (erq->length > 0) {
+#ifdef CONFIG_IEEE80211_DEBUG
+ DECLARE_SSID_BUF(ssid);
+#endif
+
len = erq->length <= 5 ? 5 : 13;
memcpy(sec.keys[key], keybuf, erq->length);
if (len > erq->length)