wireless: fix two bad print_ssid conversions
PATCH 1/1 wireless: fix two bad print_ssid conversions
This patch fixes two current compilation problems. They showed up with CONFIG_IEEE80211_DEBUG defined.
Signed-off-by Holger Schurig <[email protected]>
net/ieee80211/ieee80211_rx.c +1 -1
@@ -1178,7 +1178,7 @@ static int ieee80211_parse_info_param(stIEEE80211_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 +4 -0
@@ -399,6 +399,10 @@ int ieee80211_wx_set_encode(struct ieee8/* 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)
Quoted 4 lines · Holger Schurig
This patch fixes two current compilation problems. They showed up with
CONFIG_IEEE80211_DEBUGdefined.Signed-off-by Holger Schurig <[email protected]>
Cool, thanks!
John
Signature · 2 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle.