Skip to contentSkip to conversation

mac80211: Variable type completion

PATCH New Xin Gao 1 participant 1 message Aug 16, 2022

Subsystems (3)
lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 mac80211: Variable type completion

'unsigned int' is better than 'unsigned'.

---
 net/mac80211/ibss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/ibss.c +1 -1
index 14c04fd48b7a..16fe69deb40b 100644
@@ -1349,7 +1349,7 @@ static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
 				  capability, 0, true);
 }
 
-static unsigned ibss_setup_channels(struct wiphy *wiphy,
+static unsigned int ibss_setup_channels(struct wiphy *wiphy,
 				    struct ieee80211_channel **channels,
 				    unsigned int channels_max,
 				    u32 center_freq, u32 width)
Signature · 1 line
2.30.2