mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
rtlwifi: Set the link state
commit 619ce76f8b 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
867b648d5b
commit
30d93e3bc8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user