mac80211: enable WDS carrier only after adding station
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 Jul 2012 17:48:09 +0000 (19:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 31 Jul 2012 14:19:01 +0000 (16:19 +0200)
commit1411af156524ce42c2a7f989320c4484257f3ff5
tree37d2c80eac53ee21bb019fd40e4ae3d959acf038
parentc405c6298eacd423098afacf6020ddbda1b0378b
mac80211: enable WDS carrier only after adding station

Enable the carrier on WDS type interfaces only
after having added the station entry for the
WDS peer so outgoing frames will find it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c