[zd1211-devs] [PATCH] Clear BSSID when disassociating
Status: Beta
Brought to you by:
mayne
From: Paul S. <st...@pa...> - 2006-01-20 20:22:47
|
This removes the behavior of old ESSIDs appearing in the iwconfig=3D20 output. Instead, when the driver disassociates (too many lost beacons) =3D20 the effect is visible if someone is watching using iwconfig (or the=3D20 appropriate underlying ioctls). -- Paul --- svn_2006_01_20/src/zd1205.c.orig 2006-01-20 11:33:09.000000000 -0800 +++ svn_2006_01_20/src/zd1205.c 2006-01-20 12:05:04.000000000 -0800 @@ -8512,6 +8512,7 @@ printk(KERN_ERR "STA_DEAUTHED\n"); printk(KERN_ERR "mac addr =3D %02x:%02x:%02x:%02x:%02x:%02x\n", StaAddr[0], StaAddr[1], StaAddr[2], StaAddr[3], StaAddr[4], StaAddr[5]); + memset(&macp->BSSID[0], 0, 6); break; default: |