On Mon, 2014-11-10 at 10:32 +0100, Johannes Berg wrote:
You seem to have lost the nlmsg_free() in error cases.
Indeed. Will fix.
Patrik
--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info
Factor out netlink message attribute appending in order to reuse it
with later code. As a result move netlink skb allocation to the
calling function.
Signed-off-by: Patrik Flykt patrik.fl...@linux.intel.com
---
v2: Free skb in error path
drivers/net/wireless/mac80211_hwsim.c | 60
is saved to the hwsim struct as it
seems difficult to access it otherwise when needed.
Patrik Flykt (2):
mac80211-hwsim: Factor out netlink attribute appending
mac80211-hwsim: Add HWSIM_CMD_GET_RADIO command
drivers/net/wireless/mac80211_hwsim.c | 183 --
drivers
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 patrik.fl...@linux.intel.com
---
v2: Fix dumping of hwsim radios by remembering the radio id from which
to start the next netlink message
.
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 patrik.fl...@linux.intel.com
---
drivers/net/wireless/mac80211_hwsim.c | 107 +-
drivers/net/wireless
all or one of the
existing radios. Regulatory data is saved to the hwsim struct as it
seems difficult to access it otherwise when needed.
Cheers,
Patrik
Patrik Flykt (2):
mac80211-hwsim: Factor out netlink attribute appending
mac80211-hwsim: Add HWSIM_CMD_GET_RADIO command
drivers