diff options
Diffstat (limited to 'net/ieee80211/ieee80211_wx.c')
-rw-r--r-- | net/ieee80211/ieee80211_wx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c index 29eb41695a82..7cc4e5ee3660 100644 --- 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, | |||
399 | 399 | ||
400 | /* If a new key was provided, set it up */ | 400 | /* If a new key was provided, set it up */ |
401 | if (erq->length > 0) { | 401 | if (erq->length > 0) { |
402 | #ifdef CONFIG_IEEE80211_DEBUG | ||
403 | DECLARE_SSID_BUF(ssid); | ||
404 | #endif | ||
405 | |||
402 | len = erq->length <= 5 ? 5 : 13; | 406 | len = erq->length <= 5 ? 5 : 13; |
403 | memcpy(sec.keys[key], keybuf, erq->length); | 407 | memcpy(sec.keys[key], keybuf, erq->length); |
404 | if (len > erq->length) | 408 | if (len > erq->length) |