mirror of
https://github.com/torvalds/linux
synced 2024-09-20 02:57:25 +00:00
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>
This commit is contained in:
parent
28b904ec48
commit
be50baa40e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue