ath10k: rename WMI_CMD_UNDEFINED
authorBartosz Markowski <bartosz.markowski@tieto.com>
Tue, 15 Oct 2013 07:55:31 +0000 (09:55 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 16 Oct 2013 08:52:06 +0000 (11:52 +0300)
commit34957b25e39bbdcfd902f27ae719b8ff50c751f8
tree98e636e90d2d175aacc40dbfae1576b15d3cd604
parentebc9abddfb6b930ec54087997570967f062eba4c
ath10k: rename WMI_CMD_UNDEFINED

Rename WMI_CMD_UNDEFINED to WMI_CMD_UNSUPPORTED. This is more
accurate here. Also return -EOPNOTSUPP instead of -EINVAL in
wmi_cmd_send().

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h