Rather than just disallowing the zero address, disallow all invalid ones. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- everything.orig/net/mac80211/main.c 2008-04-24 13:29:06.000000000 +0200 +++ everything/net/mac80211/main.c 2008-04-24 13:29:13.000000000 +0200 @@ -255,7 +255,7 @@ static int ieee80211_open(struct net_dev switch (sdata->vif.type) { case IEEE80211_IF_TYPE_WDS: - if (is_zero_ether_addr(sdata->u.wds.remote_addr)) + if (!is_valid_ether_addr(sdata->u.wds.remote_addr)) return -ENOLINK; /* Create STA entry for the WDS peer */ -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html