aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/prism54')
-rw-r--r--drivers/net/wireless/prism54/isl_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index 585f5996d292..f1066614dc31 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -1753,7 +1753,7 @@ prism54_get_oid(struct net_device *ndev, struct iw_request_info *info,
1753 int rvalue; 1753 int rvalue;
1754 enum oid_num_t n = dwrq->flags; 1754 enum oid_num_t n = dwrq->flags;
1755 1755
1756 rvalue = mgt_get_request((islpci_private *) ndev->priv, n, 0, NULL, &r); 1756 rvalue = mgt_get_request(netdev_priv(ndev), n, 0, NULL, &r);
1757 dwrq->length = mgt_response_to_str(n, &r, extra); 1757 dwrq->length = mgt_response_to_str(n, &r, extra);
1758 if ((isl_oid[n].flags & OID_FLAG_TYPE) != OID_TYPE_U32) 1758 if ((isl_oid[n].flags & OID_FLAG_TYPE) != OID_TYPE_U32)
1759 kfree(r.ptr); 1759 kfree(r.ptr);
@@ -1766,7 +1766,7 @@ prism54_set_u32(struct net_device *ndev, struct iw_request_info *info,
1766{ 1766{
1767 u32 oid = uwrq[0], u = uwrq[1]; 1767 u32 oid = uwrq[0], u = uwrq[1];
1768 1768
1769 return mgt_set_request((islpci_private *) ndev->priv, oid, 0, &u); 1769 return mgt_set_request(netdev_priv(ndev), oid, 0, &u);
1770} 1770}
1771 1771
1772static int 1772static int
@@ -1775,7 +1775,7 @@ prism54_set_raw(struct net_device *ndev, struct iw_request_info *info,
1775{ 1775{
1776 u32 oid = dwrq->flags; 1776 u32 oid = dwrq->flags;
1777 1777
1778 return mgt_set_request((islpci_private *) ndev->priv, oid, 0, extra); 1778 return mgt_set_request(netdev_priv(ndev), oid, 0, extra);
1779} 1779}
1780 1780
1781void 1781void