Use comma, not semicolon in ieee80211_parse_info_param(). Declare ssid in ieee80211_wx_set_encode(). Signed-off-by: Pavel Roskin <proski@xxxxxxx> --- net/ieee80211/ieee80211_rx.c | 2 +- net/ieee80211/ieee80211_wx.c | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index b0bc39d..d6d5317 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c @@ -1178,7 +1178,7 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element IEEE80211_DEBUG_MGMT("MFIE_TYPE_SSID: '%s' len=%d.\n", print_ssid(ssid, network->ssid, - network->ssid_len); + network->ssid_len), network->ssid_len); break; diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c index 698a856..70665e1 100644 --- a/net/ieee80211/ieee80211_wx.c +++ b/net/ieee80211/ieee80211_wx.c @@ -310,6 +310,7 @@ int ieee80211_wx_set_encode(struct ieee80211_device *ieee, int i, key, key_provided, len; struct ieee80211_crypt_data **crypt; int host_crypto = ieee->host_encrypt || ieee->host_decrypt || ieee->host_build_iv; + DECLARE_SSID_BUF(ssid); IEEE80211_DEBUG_WX("SET_ENCODE\n"); -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html