forked from kriswebdev/android_wireless_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ESSID-BUG.txt
39 lines (32 loc) · 1.22 KB
/
ESSID-BUG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
The ESSID bug
-------------
The latest Linux kernels have a bug in the handling of the
ESSID. The Linux kernel maintainers seems reluctant to fix this
bug. But, I've managed to find a way to workaround it in Wireless
Tools 30.pre7.
Symptoms :
--------
1) There is a trailing '\x00' in the ESSID.
2) If a ESSID with 32 character is set, it can not be read again.
http://madwifi.org/ticket/930
3) You can not set an ESSID with a trailing '\x00'
Resolution :
----------
The patch provided in the Wireless Tools package should fix
this problem. This patch remove a backward compatibility hack, and it
is safe as it simplify the code.
The patch need to be applied to the kernel, the kernel
recompiled and reinstalled.
If you have kernel 2.6.19 to 2.6.21 :
use iw261_restore_full_essid.diff
If you have kernel 2.6.22 or later :
use iw262_restore_full_essid.diff
I won't give detailed instructions because only people
confortable with kernel rebuild should attempt this.
Workaround :
----------
Using Wireless Tools 30.pre7 or later will cure syptoms (1) and (2).
Using Wireless Tools 29 or earlier will hide the trailing '\x00'
character (first symptom), but not the second and third symptoms.
Good luck...
Jean