diff options
| author | Raja Mani <rmani@qca.qualcomm.com> | 2012-01-30 17:13:12 +0530 |
|---|---|---|
| committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-30 21:22:55 +0200 |
| commit | 3c411a434414f4320ce926bee3733e34ba0ea407 (patch) | |
| tree | 272953df5a51fb4e152813667882cfe7c527f36b /lib/mpi/mpi-inv.c | |
| parent | 081c7a84e969453716e2a7bd315417067c3643ad (diff) | |
ath6kl: Return a proper error code when not in connected state
Error code ENOTCONN is more suitable than EINVAL to report
when the driver is not in connected state in ath6kl_wow_suspend().
I found this during code review.
Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions
