nl80211: change __cfg80211_rdev_from_info
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jun 2012 12:18:32 +0000 (14:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jun 2012 08:57:02 +0000 (10:57 +0200)
commit878d9ec7367816dc336b0c24e6256596559692b7
treea96e4966ee6919bc9bec5587eaa8ed235cf781c8
parent4f7eff10b20fc86f71f2db83e6b16cb5fbde8dbc
nl80211: change __cfg80211_rdev_from_info

Change the function to __cfg80211_rdev_from_attrs
to take attributes instead of the info struct to
make it usable from dump callbacks for testmode.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c