Skip to contentSkip to conversation

ieee80211: compile fixes

PATCH New Pavel Roskin 1 participant 1 message Oct 29, 2008 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ieee80211: compile fixes

Use comma, not semicolon in ieee80211_parse_info_param(). Declare ssid in ieee80211_wx_set_encode().

---
 net/ieee80211/ieee80211_rx.c |    2 +-
 net/ieee80211/ieee80211_wx.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
net/ieee80211/ieee80211_rx.c +1 -1
index b0bc39d..d6d5317 100644
@@ -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;
 
net/ieee80211/ieee80211_wx.c +1 -0
index 698a856..70665e1 100644
@@ -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");