wil6210: unify wmi_set_ie() error handling
authorVladimir Kondratiev <QCA_vkondrat@QCA.qualcomm.com>
Thu, 30 Jul 2015 10:52:00 +0000 (13:52 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 6 Aug 2015 06:43:24 +0000 (09:43 +0300)
commit5421bf0c1e37642f42758fe1c73e43b27901dd61
tree0a1a74ae87b2df8e694ac1cba3c1e0d60bf0f636
parentcab5abbf9d0ef8b36d5f5181f0087ed3836385d0
wil6210: unify wmi_set_ie() error handling

When printing error message, provide string describing IE kind.
Derive it from IE type
This allows removing of error messages printing
in callers

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/wmi.c