commit | 3c411a434414f4320ce926bee3733e34ba0ea407 | [log] [tgz] |
---|---|---|
author | Raja Mani <rmani@qca.qualcomm.com> | Mon Jan 30 17:13:12 2012 +0530 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Mon Jan 30 21:22:55 2012 +0200 |
tree | 272953df5a51fb4e152813667882cfe7c527f36b | |
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>