nl80211: refactor __cfg80211_rdev_from_info
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jun 2012 12:09:58 +0000 (14:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jun 2012 08:57:00 +0000 (10:57 +0200)
commit7fee4778bf56b0c5c86010d5b6f654177cc5da96
tree66a67e1ef07188fd9a875cf957075861e40fca7d
parenta9455408b09395ecf4008bd998516ce2e9551bbc
nl80211: refactor __cfg80211_rdev_from_info

Refactor the function to make it easier to
extend.

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