In ipw3945-1.1.3, there is a bogus appended character to the ESSID in iwconfig. This causes issues when trying to figure out which settings to use in /etc/conf.d/net and /etc/conf.d/wireless. A temporary patch has been submitted to ipw3945.sf.net here: http://ipw3945.sourceforge.net/patches/ipw3945-1.1.4.essid.patch
The "bogus" character is needed for 2.6.19 kernels, the patch is wrong...
That may be the case, however for pre-2.6.19 kernels, this patch should be applied. I added the patch to the ebuild (slightly modified to work with portage dirs), and rebooted my laptop. The ESSID shows up normally, without the missing last character and without the bogus character while running 2.6.18-gentoo-r6 kernel.
Created attachment 105088 [details] Modified ipw3945-1.1.3 ebuild for use with kernels < 2.6.19. Modified ipw3945-1.1.3 ebuild for use with kernels < 2.6.19 to patch the ipw3945 source code.
Created attachment 105089 [details, diff] Patch for ipw3945-1.1.3 for kernels < 2.6.19 Patch for ipw3945-1.1.3 for kernels < 2.6.19.
Fixed with the current (hardmasked) 1.1.3-r2 (due to the change to use in-kernel ieee80211 subsystem).