In the Ubuntu version of the kernel source, the line 358 of ubuntu/net/rtl_ieee80211/rtl_ieee80211_softmac_wx.c, has the following code:
if (wrqu->essid.flags && wrqu->essid.length) { len = ((wrqu->essid.length-1) < IW_ESSID_MAX_SIZE) ? (wrqu->essid.length-1) : IW_ESSID_MAX_SIZE;
strncpy(ieee->current_network.ssid, extra, len); ieee->current_network.ssid_len = len; ieee->ssid_set = 1; }
I think the wrqu->essid.length should not minus one.
Anyone who can check it?
In the Ubuntu version of the kernel source, the line 358 of ubuntu/ net/rtl_ ieee80211/ rtl_ieee80211_ softmac_ wx.c, has the following code:
if (wrqu->essid.flags && wrqu->essid.length) { >essid. length- 1) < IW_ESSID_MAX_SIZE) ? (wrqu-> essid.length- 1) : IW_ESSID_MAX_SIZE;
len = ((wrqu-
}
I think the wrqu->essid.length should not minus one.
Anyone who can check it?