Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Conflicts: drivers/net/wireless/libertas/scan.c
This commit is contained in:
@@ -1084,7 +1084,19 @@ int ieee80211_reconfig(struct ieee80211_local *local)
|
||||
|
||||
/* restart hardware */
|
||||
if (local->open_count) {
|
||||
/*
|
||||
* Upon resume hardware can sometimes be goofy due to
|
||||
* various platform / driver / bus issues, so restarting
|
||||
* the device may at times not work immediately. Propagate
|
||||
* the error.
|
||||
*/
|
||||
res = drv_start(local);
|
||||
if (res) {
|
||||
WARN(local->suspended, "Harware became unavailable "
|
||||
"upon resume. This is could be a software issue"
|
||||
"prior to suspend or a harware issue\n");
|
||||
return res;
|
||||
}
|
||||
|
||||
ieee80211_led_radio(local, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user