projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11eaea4
)
p54: add missing break in eeprom parser
author
Chr
<chunkeey@web.de>
Mon, 19 Jan 2009 13:30:26 +0000
(14:30 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 22 Jan 2009 18:55:02 +0000
(13:55 -0500)
This patch fixes a obvious memory leak in the eeprom parser.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/p54/p54common.c
b/drivers/net/wireless/p54/p54common.c
index
12d0717
..
61b0193
100644
(file)
--- a/
drivers/net/wireless/p54/p54common.c
+++ b/
drivers/net/wireless/p54/p54common.c
@@
-451,8
+451,8
@@
static int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int len)
}
if (err)
goto err;
-
- }
+ }
+ break;
case PDR_PRISM_ZIF_TX_IQ_CALIBRATION:
priv->iq_autocal = kmalloc(data_len, GFP_KERNEL);
if (!priv->iq_autocal) {