summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-07-06 14:47:49 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-07-06 14:48:37 +0200
commitf1724b0258b412144964f2074b9b6edcf0dce87c (patch)
tree85cd2c85e87a539177d9485f3227be5472528c39 /drivers/net/wireless/mac80211_hwsim.c
parentf7736f501f87b3f6ffbf07d173a6893dd419ac50 (diff)
mac80211_hwsim: use signed net namespace ID
The API expects a pointer to a signed int so we should not use an unsigned int for it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 97196c4e2836..337794f9506e 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -250,7 +250,7 @@ static inline void hwsim_clear_chanctx_magic(struct ieee80211_chanctx_conf *c)
cp->magic = 0;
}
-static unsigned int hwsim_net_id;
+static int hwsim_net_id;
static int hwsim_netgroup;