Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bc38193 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

hwsim: make testmode_cmd static



sparse correctly complains about this, no reason
for it not to be static.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0b20633d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -729,7 +729,8 @@ static const struct nla_policy hwsim_testmode_policy[HWSIM_TM_ATTR_MAX + 1] = {

static int hwsim_fops_ps_write(void *dat, u64 val);

int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw, void *data, int len)
static int mac80211_hwsim_testmode_cmd(struct ieee80211_hw *hw,
				       void *data, int len)
{
	struct mac80211_hwsim_data *hwsim = hw->priv;
	struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1];