From: Raja Mani Date: Fri, 16 Dec 2011 08:54:23 +0000 (+0530) Subject: ath6kl: Avoid taking struct as argument in ath6kl_wmi_set_ip_cmd X-Git-Tag: v3.4-rc1~177^2~112^2~357^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca1d16a08fc2c26b693e65ad92fa37a4c778e60d;p=pandora-kernel.git ath6kl: Avoid taking struct as argument in ath6kl_wmi_set_ip_cmd In this way, caller is free to pass only the value of IP addr to configure. In addition to this, * 'ips' variable data type in struct wmi_set_ip_cmd is changed from __le32 to __be32 in order to match network byte order. * ipv4_is_multicast() is used to validate multicast ip addr. * New argument if_idx is added to supply correct vif index to ath6kl_wmi_cmd_send(). This will be used in the next patch. Signed-off-by: Raja Mani Signed-off-by: Thirumalai Pachamuthu Signed-off-by: Kalle Valo --- Reading git-diff-tree failed