Error setting essid, found anomalies.

"Antonio Mignolli" <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
I'm using ipw2100-1.2.1, on kernel 2.6.19.2 (slackware).
When setting essid, last char is cutted off.
If I want to set, for example, essid "myessid",
the resulting, visible with iwconfig, will be "Yea",
and no connections with the AP are possible.
I can do with a essid "myessidX",
so it becomes correct.

This is due to the line 7481 in file ipw2100.c:
length = wrqu->essid.length - 1;

Removing "-1" things are good,
with kernel 2.6.19.2 .

BUT, with kernel 2.6.17.3, if enabling module with
debug parameter set to 9, after setting essid "myessid" it will show:
ipw2100: U ipw2100_wx_get_essid Getting essid: 'myessid\0'

Note the "\0" at the end.
But the driver is still functional.
Indeed iwconfig shows correctly "myessid", and everything works.
Probably null char is not significant for iwconfig.

Hope it help.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
ipw2100-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipw2100-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.