projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28b904e
)
wifi: mac80211: use full 'unsigned int' type
author
Xin Gao
<gaoxin@cdjrlc.com>
Tue, 16 Aug 2022 18:10:40 +0000
(
02:10
+0800)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 26 Aug 2022 07:58:54 +0000
(09:58 +0200)
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>
net/mac80211/ibss.c
patch
|
blob
|
history
diff --git
a/net/mac80211/ibss.c
b/net/mac80211/ibss.c
index d56890e3fabb3d43b1cb0c9cc5dae188f45b1ad6..c14d740b01220a78bbfc7f8822c98041011a6193 100644
(file)
--- 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 i
nt i
bss_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;