diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-11-17 19:15:47 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-17 19:15:47 (GMT) |
commit | c4be3c2da1ab4344d3d5f63d6ec1952a3c6e635c (patch) | |
tree | 8235782fe36c446cd1a84477404c82e56c8d4407 /drivers/net/wireless/libertas | |
parent | 102463b18d922dd55c29fbfa222e0355ecf3e42f (diff) | |
parent | fe09b32a4361bea44169b2063e8c867cabb6a8ba (diff) | |
download | linux-fsl-qoriq-c4be3c2da1ab4344d3d5f63d6ec1952a3c6e635c.tar.xz |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/if_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_spi.c b/drivers/net/wireless/libertas/if_spi.c index 11b69b3..728baa4 100644 --- a/drivers/net/wireless/libertas/if_spi.c +++ b/drivers/net/wireless/libertas/if_spi.c @@ -995,6 +995,7 @@ static int if_spi_host_to_card(struct lbs_private *priv, spin_unlock_irqrestore(&card->buffer_lock, flags); break; default: + kfree(packet); netdev_err(priv->dev, "can't transfer buffer of type %d\n", type); err = -EINVAL; |