summaryrefslogtreecommitdiff
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-08-17 02:10:40 +0800
committerJohannes Berg <johannes.berg@intel.com>2022-08-26 09:58:54 +0200
commitbe50baa40e90a18c3750b31a49be64929488d84b (patch)
tree4ae00acad855c905e667152e465733929bde8298 /net/mac80211/ibss.c
parent28b904ec486b59297a92e34b1e92837907d0f529 (diff)
wifi: mac80211: use full 'unsigned int' type
The full 'unsigned int' is better than 'unsigned'. Signed-off-by: Xin Gao <gaoxin@cdjrlc.com> Link: https://lore.kernel.org/r/20220816181040.9044-1-gaoxin@cdjrlc.com [fix indentation] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r--net/mac80211/ibss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index d56890e3fabb..c14d740b0122 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -1346,10 +1346,10 @@ static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
capability, 0, true);
}
-static unsigned ibss_setup_channels(struct wiphy *wiphy,
- struct ieee80211_channel **channels,
- unsigned int channels_max,
- u32 center_freq, u32 width)
+static unsigned int ibss_setup_channels(struct wiphy *wiphy,
+ struct ieee80211_channel **channels,
+ unsigned int channels_max,
+ u32 center_freq, u32 width)
{
struct ieee80211_channel *chan = NULL;
unsigned int n_chan = 0;