diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2013-11-18 11:11:28 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-06 11:33:55 -0800 |
commit | 4e4aeb96f7f390c7b4ce2ae4bbd5a95a5bb67ec9 (patch) | |
tree | 614a155ec3e07adfeaef666fd649348f3c599c0f | |
parent | 03b3daeede578a31865e70158853424a6d5bcaae (diff) | |
download | lwn-4e4aeb96f7f390c7b4ce2ae4bbd5a95a5bb67ec9.tar.gz lwn-4e4aeb96f7f390c7b4ce2ae4bbd5a95a5bb67ec9.zip |
rtlwifi: Set the link state
commit 619ce76f8bb850b57032501a39f26aa6c6731c70 upstream.
The present code fails to set the linked state when an interface is
added.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/wireless/rtlwifi/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c index 8dc4d9308593..2d337a0c3df0 100644 --- a/drivers/net/wireless/rtlwifi/core.c +++ b/drivers/net/wireless/rtlwifi/core.c @@ -194,6 +194,7 @@ static int rtl_op_add_interface(struct ieee80211_hw *hw, rtlpriv->cfg->maps [RTL_IBSS_INT_MASKS]); } + mac->link_state = MAC80211_LINKED; break; case NL80211_IFTYPE_ADHOC: RT_TRACE(rtlpriv, COMP_MAC80211, DBG_LOUD, |