|
@@ -37,6 +37,8 @@ static void linux_wlan_tx_complete(void *priv, int status);
|
|
|
static int mac_init_fn(struct net_device *ndev);
|
|
|
static struct net_device_stats *mac_stats(struct net_device *dev);
|
|
|
static int mac_ioctl(struct net_device *ndev, struct ifreq *req, int cmd);
|
|
|
+static int wilc_mac_open(struct net_device *ndev);
|
|
|
+static int wilc_mac_close(struct net_device *ndev);
|
|
|
static void wilc_set_multicast_list(struct net_device *dev);
|
|
|
|
|
|
bool wilc_enable_ps = true;
|
|
@@ -847,7 +849,7 @@ static int mac_init_fn(struct net_device *ndev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-int wilc_mac_open(struct net_device *ndev)
|
|
|
+static int wilc_mac_open(struct net_device *ndev)
|
|
|
{
|
|
|
struct wilc_vif *vif;
|
|
|
|
|
@@ -1038,7 +1040,7 @@ int wilc_mac_xmit(struct sk_buff *skb, struct net_device *ndev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-int wilc_mac_close(struct net_device *ndev)
|
|
|
+static int wilc_mac_close(struct net_device *ndev)
|
|
|
{
|
|
|
struct wilc_priv *priv;
|
|
|
struct wilc_vif *vif;
|