[lts-backport-quantal][lts-backport-raring][SRU][PATCH 1/1] rtlwifi: Remove setting of link_state to MAC80211_LINKED

Joseph Salisbury joseph.salisbury at canonical.com
Wed May 14 14:49:17 UTC 2014


From: Larry Finger <Larry.Finger at lwfinger.net>

BugLink: http://bugs.launchpad.net/bugs/1289429

Fix from Larry Finger for a problem that shows up between 3.8.0-36 and 3.8.0-37.   There is 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, we have not had any reports of problems with other users. That suggests some kind of bad interaction with the user-space network control components in 12.04.

Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
Signed-off-by: Joseph Salisbury <joseph.salisbury at canonical.com>
---
 drivers/net/wireless/rtlwifi/core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c
index 1eb562a..77e4a58 100644
--- a/drivers/net/wireless/rtlwifi/core.c
+++ b/drivers/net/wireless/rtlwifi/core.c
@@ -187,7 +187,6 @@ 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,
-- 
1.9.1





More information about the kernel-team mailing list