# \[PATCH\] iw dev link: print channel number as well

- From: Recursive Madman \<hidden\>
- Date: 2014-12-23 12:03:26 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2014/12/15715907
- Thread: https://ratatoskr.run/linux-wireless/2014/12/15715907/t.md

```text
Hi,
  dev <devname> link
prints the SSID and frequency, when connected.
To figure out the channel however (if you don't
know it by heart), you need to use
  dev <devname> info
which will print the channel along with the
frequency (though not the current SSID).

With attached patch,
  dev <devname> link
prints the channel along with the frequency, e.g. as:
	freq: 2442
	channel: 7
.

I find it more convenient this way.

-- madman.
```

## Attachments

- [0001-dev-link-print-channel-number-as-well.patch](https://ratatoskr.run/linux-wireless/2014/12/15715907/attachment/0) (text/x-patch, 960 bytes)
