wl1251: make local symbols static
[pandora-wifi.git] / patches / 12-iw_handler-changes.patch
1 --- a/drivers/net/wireless/ipw2x00/ipw2100.c
2 +++ b/drivers/net/wireless/ipw2x00/ipw2100.c
3 @@ -6140,7 +6140,11 @@ static struct net_device *ipw2100_alloc_
4  
5         dev->ethtool_ops = &ipw2100_ethtool_ops;
6         dev->wireless_handlers = &ipw2100_wx_handler_def;
7 +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31))
8         priv->wireless_data.libipw = priv->ieee;
9 +#else
10 +       priv->wireless_data.ieee80211 = (struct ieee80211_device *) priv->ieee;
11 +#endif
12         dev->wireless_data = &priv->wireless_data;
13         dev->watchdog_timeo = 3 * HZ;
14         dev->irq = 0;