p54: add missing break in eeprom parser
PATCH 1/2 p54: add missing break in eeprom parser
This patch fixes a obvious memory leak in the eeprom parser.
Signed-off-by Christian Lamparter <[email protected]>
---
John,
can you please add this patch and "p54: more cryptographic accelerator fixes" to wireless-2.6 as well?
---
drivers/net/wireless/p54/p54common.c +2 -2
@@ -545,8 +545,8 @@ 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) {