aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 6ac8565072e9..4befa48dbc34 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -729,7 +729,8 @@ static const struct nla_policy hwsim_testmode_policy[HWSIM_TM_ATTR_MAX + 1] = {
729 729
730static int hwsim_fops_ps_write(void *dat, u64 val); 730static int hwsim_fops_ps_write(void *dat, u64 val);
731 731
732int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw, void *data, int len) 732static int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw,
733 void *data, int len)
733{ 734{
734 struct mac80211_hwsim_data *hwsim = hw->priv; 735 struct mac80211_hwsim_data *hwsim = hw->priv;
735 struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1]; 736 struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1];