From: Patrik Flykt Date: Wed, 12 Nov 2014 14:42:40 +0000 (+0200) Subject: mac80211-hwsim: Add HWSIM_CMD_GET_RADIO command X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93d638d49cac96a93abf09bb3526f2112d9f8387;p=pandora-kernel.git mac80211-hwsim: Add HWSIM_CMD_GET_RADIO command HWSIM_CMD_GET_RADIO returns information about a specific radio id or all of them in response to a dump. Create the netlink skb or use the one provided by the dump functionality. Use the existing attribute appending function to fill in the same attributes when creating a new hwsim radio. Save alpha2 and struct ieee80211_regdomain in the hwsim data or else they will be lost in the depths of regulatory infrastructure. Signed-off-by: Patrik Flykt Signed-off-by: Johannes Berg --- Reading git-diff-tree failed