broadcast frames
Brian Pomerantz
bapper
Tue Aug 26 12:55:53 PDT 2003
On Tue, Aug 26, 2003 at 12:43:35PM -0700, Brian Pomerantz wrote:
> I didn't see anything on this in the list archives. I'm seeing
> broadcast/multi-cast frames sent out when there isn't a station
> associated to the AP. The attached patch appears to fix this problem,
> though I'm not certain it is completely correct. WDS still works and
> I don't see broadcasts when there isn't a station associated.
>
Sorry, forgot the context switch, here it is again.
BAPper
-------------- next part --------------
Index: hostap_hw.c
===================================================================
RCS file: /cvs/hostap-pollen8/driver/modules/hostap_hw.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 hostap_hw.c
*** hostap_hw.c 30 Jul 2003 00:42:08 -0000 1.1.1.2
--- hostap_hw.c 26 Aug 2003 19:52:13 -0000
***************
*** 1657,1662 ****
--- 1657,1668 ----
/* AP client mode: send frames with foreign src addr
* using 4-addr WDS frames */
use_wds = WDS_COMPLIANT_FRAME;
+ } else if (!local->ap->num_sta) {
+ /*
+ * There are no stations, get the hell out!
+ */
+ ret = 0; /* drop packet */
+ goto fail;
}
}
More information about the Hostap
mailing list