diff mbox

VLAN traffic appearing on the wrong iface

Message ID 57b62e7d0910010740t67a96d88h59b10161844f2836@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Blaž Bačnik Oct. 1, 2009, 2:40 p.m. UTC
None
diff mbox

Patch

--- a/net/mac80211/sta_info.c	2009-10-01 16:24:34.000000000 +0200
+++ b/net/mac80211/sta_info.c	2009-10-01 16:27:31.000000000 +0200
@@ -498,7 +498,7 @@  static void __sta_info_unlink(struct sta
 			       &(*sta)->sta);
 	}

-	if (ieee80211_vif_is_mesh(&sdata->vif)) {
+	if (ieee80211_vif_is_mesh(&(*sta)->sdata->vif)) {
 		mesh_accept_plinks_update(sdata);
 #ifdef CONFIG_MAC80211_MESH
 		del_timer(&(*sta)->plink_timer);