Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

p54: add missing break in eeprom parser

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>

authored by

Chr and committed by
John W. Linville
40ab73cc 11eaea41

+2 -2
+2 -2
drivers/net/wireless/p54/p54common.c
··· 451 451 } 452 452 if (err) 453 453 goto err; 454 - 455 - } 454 + } 455 + break; 456 456 case PDR_PRISM_ZIF_TX_IQ_CALIBRATION: 457 457 priv->iq_autocal = kmalloc(data_len, GFP_KERNEL); 458 458 if (!priv->iq_autocal) {