File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ impl From<Nl80211ChannelWidth> for u32 {
63
63
Nl80211ChannelWidth :: Mhz ( 16 ) => NL80211_CHAN_WIDTH_16 ,
64
64
Nl80211ChannelWidth :: Mhz ( 320 ) => NL80211_CHAN_WIDTH_320 ,
65
65
Nl80211ChannelWidth :: Mhz ( _) => {
66
- log:: warn!( "Invalid Nl80211ChannelWidth {:?}" , v ) ;
66
+ log:: warn!( "Invalid Nl80211ChannelWidth {v :?}" ) ;
67
67
u32:: MAX
68
68
}
69
69
Nl80211ChannelWidth :: Other ( d) => d,
Original file line number Diff line number Diff line change @@ -110,8 +110,7 @@ impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>>
110
110
Nl80211MloLinkNla :: Mac ( s) => ret. mac = s,
111
111
Nl80211MloLinkNla :: Other ( attr) => {
112
112
log:: warn!(
113
- "Got unsupported NL80211_ATTR_MLO_LINKS value {:?}" ,
114
- attr
113
+ "Got unsupported NL80211_ATTR_MLO_LINKS value {attr:?}"
115
114
)
116
115
}
117
116
}
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl Nla for Nl80211RateInfo {
123
123
Self :: MhzWidth ( 160 ) => NL80211_RATE_INFO_160_MHZ_WIDTH ,
124
124
Self :: MhzWidth ( 320 ) => NL80211_RATE_INFO_320_MHZ_WIDTH ,
125
125
Self :: MhzWidth ( freq) => {
126
- log:: warn!( "Invalid Nl80211RateInfo::MhzWidth {:?}" , freq ) ;
126
+ log:: warn!( "Invalid Nl80211RateInfo::MhzWidth {freq :?}" ) ;
127
127
u16:: MAX
128
128
}
129
129
Self :: MhzWidth80Plus80 => NL80211_RATE_INFO_80P80_MHZ_WIDTH ,
@@ -384,7 +384,7 @@ impl From<Nl80211HeRuAllocation> for u8 {
384
384
NL80211_RATE_INFO_HE_RU_ALLOC_996
385
385
}
386
386
Nl80211HeRuAllocation :: Tone ( _) => {
387
- log:: warn!( "Invalid Nl80211HeRuAllocation {:?}" , v ) ;
387
+ log:: warn!( "Invalid Nl80211HeRuAllocation {v :?}" ) ;
388
388
u8:: MAX
389
389
}
390
390
Nl80211HeRuAllocation :: Tone2x996 => {
@@ -516,7 +516,7 @@ impl From<Nl80211EhtRuAllocation> for u8 {
516
516
NL80211_RATE_INFO_EHT_RU_ALLOC_996
517
517
}
518
518
Nl80211EhtRuAllocation :: Tone ( _) => {
519
- log:: warn!( "Invalid Nl80211EhtRuAllocation {:?}" , v ) ;
519
+ log:: warn!( "Invalid Nl80211EhtRuAllocation {v :?}" ) ;
520
520
u8:: MAX
521
521
}
522
522
Nl80211EhtRuAllocation :: Tone52Plus26 => {
You can’t perform that action at this time.
0 commit comments