diff options
Diffstat (limited to 'drivers/net/wireless/strip.c')
-rw-r--r-- | drivers/net/wireless/strip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/strip.c b/drivers/net/wireless/strip.c index edb214e8c744..904e548e6795 100644 --- a/drivers/net/wireless/strip.c +++ b/drivers/net/wireless/strip.c | |||
@@ -1972,7 +1972,7 @@ static struct net_device *get_strip_dev(struct strip *strip_info) | |||
1972 | sizeof(zero_address))) { | 1972 | sizeof(zero_address))) { |
1973 | struct net_device *dev; | 1973 | struct net_device *dev; |
1974 | read_lock_bh(&dev_base_lock); | 1974 | read_lock_bh(&dev_base_lock); |
1975 | for_each_netdev(dev) { | 1975 | for_each_netdev(&init_net, dev) { |
1976 | if (dev->type == strip_info->dev->type && | 1976 | if (dev->type == strip_info->dev->type && |
1977 | !memcmp(dev->dev_addr, | 1977 | !memcmp(dev->dev_addr, |
1978 | &strip_info->true_dev_addr, | 1978 | &strip_info->true_dev_addr, |