X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fmac80211%2Fmesh_plink.c;h=3ab34d81689753e0beaf7af4a9c7c806f9da6915;hb=aecdc33e111b2c447b622e287c6003726daa1426;hp=9d7ad366ef09a37cb9031c0b4eeb754ec7bb1217;hpb=cefd81cfeca14ec4c63cc748441634f1d4c0eb3f;p=~andy%2Flinux diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c index 9d7ad366ef0..3ab34d81689 100644 --- a/net/mac80211/mesh_plink.c +++ b/net/mac80211/mesh_plink.c @@ -537,7 +537,8 @@ int mesh_plink_open(struct sta_info *sta) spin_lock_bh(&sta->lock); get_random_bytes(&llid, 2); sta->llid = llid; - if (sta->plink_state != NL80211_PLINK_LISTEN) { + if (sta->plink_state != NL80211_PLINK_LISTEN && + sta->plink_state != NL80211_PLINK_BLOCKED) { spin_unlock_bh(&sta->lock); return -EBUSY; }