Sven and Tim,
Attached is a one-line fix for the problem that shows up between 3.8.0-36 and
3.8.0-37. It is just a bare patch file, but feel free to add any explanatory
text to make it a proper commit.
I have no real understanding as to why this line of code does not cause any
problems with later kernel versions, but it does here. In addition, I have not
had any reports of problems with other users. That makes me suspect some kind of
bad interaction with the user-space network control components in 12.04.
Would it be helpful for Nicolas to prepare a bug report at Ubuntu?
Larry
Index: linux-3.8.37/drivers/net/wireless/rtlwifi/core.c
===================================================================
--- linux-3.8.37.orig/drivers/net/wireless/rtlwifi/core.c
+++ linux-3.8.37/drivers/net/wireless/rtlwifi/core.c
@@ -187,7 +187,6 @@ static int rtl_op_add_interface(struct i
rtlpriv->cfg->maps
[RTL_IBSS_INT_MASKS]);
}
- mac->link_state = MAC80211_LINKED;
break;
case NL80211_IFTYPE_ADHOC:
RT_TRACE(rtlpriv, COMP_MAC80211, DBG_LOUD,