Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172195
b: refs/heads/master
c: 17d7265
h: refs/heads/master
i:
  172193: 906625e
  172191: e529075
v: v3
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Nov 28, 2009
1 parent 2e94b58 commit 16f3745
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 03442a33174b1d9f6f8eb8c3c2e8a9cf4b75fffe
refs/heads/master: 17d7265c7582af77357bd31884cef26f9f802313
10 changes: 5 additions & 5 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,15 +815,15 @@ static int wl1271_dev_notify(struct notifier_block *me, unsigned long what,

wdev = dev->ieee80211_ptr;
if (wdev == NULL)
return -ENODEV;
return NOTIFY_DONE;

wiphy = wdev->wiphy;
if (wiphy == NULL)
return -ENODEV;
return NOTIFY_DONE;

hw = wiphy_priv(wiphy);
if (hw == NULL)
return -ENODEV;
return NOTIFY_DONE;

/* Check that the interface is one supported by this driver. */
wl_temp = hw->priv;
Expand All @@ -832,7 +832,7 @@ static int wl1271_dev_notify(struct notifier_block *me, unsigned long what,
break;
}
if (wl == NULL)
return -ENODEV;
return NOTIFY_DONE;

/* Get the interface IP address for the device. "ifa" will become
NULL if:
Expand Down Expand Up @@ -868,7 +868,7 @@ static int wl1271_dev_notify(struct notifier_block *me, unsigned long what,
out:
mutex_unlock(&wl->mutex);

return ret;
return NOTIFY_OK;
}

static struct notifier_block wl1271_dev_notifier = {
Expand Down

0 comments on commit 16f3745

Please sign in to comment.