[PATCH] bcm43xx-softmac: Init, shutdown and restart fixes
This fixes various bugs in the init and shutdown code that would lead to lockups and crashes. Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

کامیت شده توسط
John W. Linville

والد
34fa0e319c
کامیت
7d4b0394bb
@@ -333,8 +333,11 @@ static ssize_t bcm43xx_attr_phymode_store(struct device *dev,
|
||||
goto out;
|
||||
}
|
||||
|
||||
bcm43xx_periodic_tasks_delete(bcm);
|
||||
mutex_lock(&(bcm)->mutex);
|
||||
err = bcm43xx_select_wireless_core(bcm, phytype);
|
||||
if (!err)
|
||||
bcm43xx_periodic_tasks_setup(bcm);
|
||||
mutex_unlock(&(bcm)->mutex);
|
||||
if (err == -ESRCH)
|
||||
err = -ENODEV;
|
||||
|
مرجع در شماره جدید
Block a user