aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/cmc7xx/send.c
diff options
context:
space:
mode:
authorsangamanatha <sangam.swamy@samsung.com>2011-03-24 03:28:08 +0900
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:53:40 -0800
commit20bee93dce11de7302c9c2785dfd42cb62ed8218 (patch)
tree28110e232c461f953952309755b892d9fa8ca937 /drivers/net/wimax/cmc7xx/send.c
parentf49071e4b488174e75173e2c7252a2c04c346bc8 (diff)
downloadkernel_samsung_crespo-20bee93dce11de7302c9c2785dfd42cb62ed8218.zip
kernel_samsung_crespo-20bee93dce11de7302c9c2785dfd42cb62ed8218.tar.gz
kernel_samsung_crespo-20bee93dce11de7302c9c2785dfd42cb62ed8218.tar.bz2
net: wimax: cmc7xx: release host when data send fails
Change-Id: Iaf20886b8541f227c1f36a714b1dc4b40c8ae5ec Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
Diffstat (limited to 'drivers/net/wimax/cmc7xx/send.c')
-rwxr-xr-xdrivers/net/wimax/cmc7xx/send.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wimax/cmc7xx/send.c b/drivers/net/wimax/cmc7xx/send.c
index 4c26000..4c11f05 100755
--- a/drivers/net/wimax/cmc7xx/send.c
+++ b/drivers/net/wimax/cmc7xx/send.c
@@ -49,6 +49,7 @@ u32 sd_send(struct net_adapter *adapter, u8 *buffer, u32 len)
pr_debug("sd_send : error occurred during \
fetch bank index!! nRet = %d, nWriteIdx = %d",
nRet, nWriteIdx);
+ sdio_release_host(adapter->func);
return STATUS_UNSUCCESSFUL;
}