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?
--
iwconfig lost the last letter of essid when using r818x driver
https://bugs.launchpad.net/bugs/98926
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs