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 {
6363 Nl80211ChannelWidth :: Mhz ( 16 ) => NL80211_CHAN_WIDTH_16 ,
6464 Nl80211ChannelWidth :: Mhz ( 320 ) => NL80211_CHAN_WIDTH_320 ,
6565 Nl80211ChannelWidth :: Mhz ( _) => {
66- log:: warn!( "Invalid Nl80211ChannelWidth {:?}" , v ) ;
66+ log:: warn!( "Invalid Nl80211ChannelWidth {v :?}" ) ;
6767 u32:: MAX
6868 }
6969 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>>
110110 Nl80211MloLinkNla :: Mac ( s) => ret. mac = s,
111111 Nl80211MloLinkNla :: Other ( attr) => {
112112 log:: warn!(
113- "Got unsupported NL80211_ATTR_MLO_LINKS value {:?}" ,
114- attr
113+ "Got unsupported NL80211_ATTR_MLO_LINKS value {attr:?}"
115114 )
116115 }
117116 }
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl Nla for Nl80211RateInfo {
123123 Self :: MhzWidth ( 160 ) => NL80211_RATE_INFO_160_MHZ_WIDTH ,
124124 Self :: MhzWidth ( 320 ) => NL80211_RATE_INFO_320_MHZ_WIDTH ,
125125 Self :: MhzWidth ( freq) => {
126- log:: warn!( "Invalid Nl80211RateInfo::MhzWidth {:?}" , freq ) ;
126+ log:: warn!( "Invalid Nl80211RateInfo::MhzWidth {freq :?}" ) ;
127127 u16:: MAX
128128 }
129129 Self :: MhzWidth80Plus80 => NL80211_RATE_INFO_80P80_MHZ_WIDTH ,
@@ -384,7 +384,7 @@ impl From<Nl80211HeRuAllocation> for u8 {
384384 NL80211_RATE_INFO_HE_RU_ALLOC_996
385385 }
386386 Nl80211HeRuAllocation :: Tone ( _) => {
387- log:: warn!( "Invalid Nl80211HeRuAllocation {:?}" , v ) ;
387+ log:: warn!( "Invalid Nl80211HeRuAllocation {v :?}" ) ;
388388 u8:: MAX
389389 }
390390 Nl80211HeRuAllocation :: Tone2x996 => {
@@ -516,7 +516,7 @@ impl From<Nl80211EhtRuAllocation> for u8 {
516516 NL80211_RATE_INFO_EHT_RU_ALLOC_996
517517 }
518518 Nl80211EhtRuAllocation :: Tone ( _) => {
519- log:: warn!( "Invalid Nl80211EhtRuAllocation {:?}" , v ) ;
519+ log:: warn!( "Invalid Nl80211EhtRuAllocation {v :?}" ) ;
520520 u8:: MAX
521521 }
522522 Nl80211EhtRuAllocation :: Tone52Plus26 => {
You can’t perform that action at this time.
0 commit comments