Ying Xue 7f2b8562c2 net: nl80211: __dev_get_by_index instead of dev_get_by_index to find interface
As __cfg80211_rdev_from_attrs(), nl80211_dump_wiphy_parse() and
nl80211_set_wiphy() are all under rtnl_lock protection,
__dev_get_by_index() instead of dev_get_by_index() should be used
to find interface handler in them allowing us to avoid to change
interface reference counter.

Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-14 18:50:47 -08:00
..
2013-12-19 16:29:22 +01:00
2013-11-25 20:50:49 +01:00
2013-10-01 12:16:51 +02:00
2013-12-19 16:29:22 +01:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2013-12-19 16:29:22 +01:00
2013-12-03 13:53:40 +01:00
2013-12-03 13:53:40 +01:00
2012-10-18 10:53:37 +02:00
2013-12-19 16:29:22 +01:00
2013-12-19 16:29:22 +01:00