Hook ipmi_user_priv() to _ipmi_set_user_access()

Commit hooks ipmi_user_priv() to _ipmi_set_user_access(). Later got extended for
'change_priv_limit_only', because of the former.
Commit removes ipmi_user_set_userpriv(), because it's not used anywhere.
This commit is contained in:
Zdenek Styblik
2015-01-09 12:48:35 +01:00
parent d6deeb264e
commit 708be8bc45
3 changed files with 25 additions and 56 deletions

View File

@@ -69,6 +69,7 @@ int _ipmi_get_user_access(struct ipmi_intf *intf,
struct user_access_t *user_access_rsp);
int _ipmi_get_user_name(struct ipmi_intf *intf, struct user_name_t *user_name);
int _ipmi_set_user_access(struct ipmi_intf *intf,
struct user_access_t *user_access_req);
struct user_access_t *user_access_req,
uint8_t change_priv_limit_only);
#endif /* IPMI_USER_H */