Skip to content

Commit

Permalink
mac80211_hwsim: use signed net namespace ID
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg committed Jul 6, 2016
1 parent f7736f5 commit f1724b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f1724b0

Please sign in to comment.