Skip to content

Commit f1724b0

Browse files
committed
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 <[email protected]>
1 parent f7736f5 commit f1724b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/mac80211_hwsim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static inline void hwsim_clear_chanctx_magic(struct ieee80211_chanctx_conf *c)
250250
cp->magic = 0;
251251
}
252252

253-
static unsigned int hwsim_net_id;
253+
static int hwsim_net_id;
254254

255255
static int hwsim_netgroup;
256256

0 commit comments

Comments
 (0)