diff options
Diffstat (limited to 'drivers/net/wireless/prism54')
-rw-r--r-- | drivers/net/wireless/prism54/isl_ioctl.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/prism54/oid_mgt.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c index 57a150a22de5..4c97c6ad6f5d 100644 --- a/drivers/net/wireless/prism54/isl_ioctl.c +++ b/drivers/net/wireless/prism54/isl_ioctl.c | |||
@@ -2981,7 +2981,8 @@ prism54_set_spy(struct net_device *ndev, | |||
2981 | union iwreq_data *uwrq, char *extra) | 2981 | union iwreq_data *uwrq, char *extra) |
2982 | { | 2982 | { |
2983 | islpci_private *priv = netdev_priv(ndev); | 2983 | islpci_private *priv = netdev_priv(ndev); |
2984 | u32 u, oid = OID_INL_CONFIG; | 2984 | u32 u; |
2985 | enum oid_num_t oid = OID_INL_CONFIG; | ||
2985 | 2986 | ||
2986 | down_write(&priv->mib_sem); | 2987 | down_write(&priv->mib_sem); |
2987 | mgt_get(priv, OID_INL_CONFIG, &u); | 2988 | mgt_get(priv, OID_INL_CONFIG, &u); |
diff --git a/drivers/net/wireless/prism54/oid_mgt.c b/drivers/net/wireless/prism54/oid_mgt.c index 57a4ac34bed6..1187e6112a64 100644 --- a/drivers/net/wireless/prism54/oid_mgt.c +++ b/drivers/net/wireless/prism54/oid_mgt.c | |||
@@ -698,7 +698,7 @@ int | |||
698 | mgt_commit(islpci_private *priv) | 698 | mgt_commit(islpci_private *priv) |
699 | { | 699 | { |
700 | int rvalue; | 700 | int rvalue; |
701 | u32 u; | 701 | enum oid_num_t u; |
702 | 702 | ||
703 | if (islpci_get_state(priv) < PRV_STATE_INIT) | 703 | if (islpci_get_state(priv) < PRV_STATE_INIT) |
704 | return 0; | 704 | return 0; |