#18649: iw 3.15 correct band ??? in phy.c
----------------------+------------------------
 Reporter:  sp2ong    |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 I have lookong in source iw-3.15 in phy.c where is
 ====================================
         if (chan) {
                 enum nl80211_band band;
                 band = freq <= 14 ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ;
                 freq = ieee80211_channel_to_frequency(freq, band);
 .....
 ============================

 Is it correct ???: band = freq <= 14 ? NL80211_BAND_2GHZ
 It maybe need be: band = chan <= 14 ? NL80211_BAND_2GHZ

--
Ticket URL: <https://dev.openwrt.org/ticket/18649>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to