aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorPrasanna S.Panchamukhi <prasannax.s.panchamukhi@intel.com>2010-01-18 14:28:23 -0800
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-05-11 14:03:32 -0700
commit4818d14de36228a749f714b450a85c1b35542e6f (patch)
treeedafd028ff6c03ce30df6a3480898b690abd5a40 /drivers/net/wimax/i2400m/i2400m.h
parent2b0b05ddc04b6d45e71cd36405df512075786f1e (diff)
downloadkernel_samsung_smdk4412-4818d14de36228a749f714b450a85c1b35542e6f.zip
kernel_samsung_smdk4412-4818d14de36228a749f714b450a85c1b35542e6f.tar.gz
kernel_samsung_smdk4412-4818d14de36228a749f714b450a85c1b35542e6f.tar.bz2
wimax/i2400m: fix incorrect return -ESHUTDOWN when there is no Tx buffer available
i2400m_tx() routine was returning -ESHUTDOWN even when there was no Tx buffer available. This patch fixes the i2400m_tx() to return -ESHUTDOWN only when the device is down(i2400m->tx_buf is NULL) and also to return -ENOSPC when there is no Tx buffer. Error seen in the kernel log. kernel: i2400m_sdio mmc0:0001:1: can't send message 0x5606: -108 kernel: i2400m_sdio mmc0:0001:1: Failed to issue 'Enter power save'command: -108 Signed-off-by: Prasanna S.Panchamukhi <prasannax.s.panchamukhi@intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m.h')
0 files changed, 0 insertions, 0 deletions