diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-07-06 14:47:49 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-07-06 14:48:37 +0200 |
commit | f1724b0258b412144964f2074b9b6edcf0dce87c (patch) | |
tree | 85cd2c85e87a539177d9485f3227be5472528c39 /drivers/net/wireless/mac80211_hwsim.c | |
parent | f7736f501f87b3f6ffbf07d173a6893dd419ac50 (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.c | 2 |
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; |