diff -r 007c9f0d3f09 src/wifi/model/regular-wifi-mac.cc --- a/src/wifi/model/regular-wifi-mac.cc Wed Mar 09 16:51:58 2011 -0800 +++ b/src/wifi/model/regular-wifi-mac.cc Thu Mar 10 10:59:42 2011 +0000 @@ -423,7 +423,19 @@ Mac48Address to = hdr->GetAddr1 (); Mac48Address from = hdr->GetAddr2 (); - if (hdr->IsMgt () && hdr->IsAction () && to == GetAddress ()) + // We don't know how to deal with any frame that is not addressed to + // us (and odds are there is nothing sensible we could do anyway), + // so we ignore such frames. + // + // The derived class may also do some such filtering, but it doesn't + // hurt to have it here too as a backstop. + if (to != GetAddress ()) + { + NotifyRxDrop (packet); + return; + } + + if (hdr->IsMgt () && hdr->IsAction ()) { // There is currently only any reason for Management Action // frames to be flying about if we are a QoS STA.