rtlwifi: Set the link state
The present code fails to set the linked state when an interface is added. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b9a758a8c9
commit
619ce76f8b
@ -194,6 +194,7 @@ static int rtl_op_add_interface(struct ieee80211_hw *hw,
|
|||||||
rtlpriv->cfg->maps
|
rtlpriv->cfg->maps
|
||||||
[RTL_IBSS_INT_MASKS]);
|
[RTL_IBSS_INT_MASKS]);
|
||||||
}
|
}
|
||||||
|
mac->link_state = MAC80211_LINKED;
|
||||||
break;
|
break;
|
||||||
case NL80211_IFTYPE_ADHOC:
|
case NL80211_IFTYPE_ADHOC:
|
||||||
RT_TRACE(rtlpriv, COMP_MAC80211, DBG_LOUD,
|
RT_TRACE(rtlpriv, COMP_MAC80211, DBG_LOUD,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user