Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215367
b: refs/heads/master
c: 0d91f22
h: refs/heads/master
i:
  215365: ce3bae9
  215363: 09fb14b
  215359: 952b1da
v: v3
  • Loading branch information
Julia Lawall authored and John W. Linville committed Oct 15, 2010
1 parent 5289740 commit 1d97975
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 6cf9e995f91e5bbffb2bef85feef490e5b67605d
refs/heads/master: 0d91f22b75347d9503b17a42b6c74d3f7750acd6
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/p54/eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,10 @@ static int p54_generate_channel_lists(struct ieee80211_hw *dev)
list->max_entries = max_channel_num;
list->channels = kzalloc(sizeof(struct p54_channel_entry) *
max_channel_num, GFP_KERNEL);
if (!list->channels)
if (!list->channels) {
ret = -ENOMEM;
goto free;
}

for (i = 0; i < max_channel_num; i++) {
if (i < priv->iq_autocal_len) {
Expand Down

0 comments on commit 1d97975

Please sign in to comment.