Skip to content

Commit fe28268

Browse files
committed
RDKB-59986: append a copy of the ISC license
Reason for change: append a copy of the ISC license Risks: Low Priority: P1
1 parent 2ae4e40 commit fe28268

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

platform/raspberry-pi/platform_pi.c

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
See the License for the specific language governing permissions and
1717
limitations under the License.
18+
19+
ISC License
20+
21+
Permission to use, copy, modify, and /or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
22+
23+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1824
**************************************************************************/
1925

2026

@@ -25,6 +31,12 @@ Copyright (c) 2005-2006, Devicescape Software, Inc.
2531
Copyright (c) 2007, Johannes Berg [email protected]
2632
Copyright (c) 2009-2010, Atheros Communications
2733
Licensed under the BSD-3 License
34+
Also credit:
35+
Copyright (c) 2007, 2008 Johannes Berg
36+
Copyright (c) 2007 Andy Lutomirski
37+
Copyright (c) 2007 Mike Kershaw
38+
Copyright (c) 2008-2009 Luis R. Rodriguez
39+
Licensed under the ISC license
2840
*/
2941

3042
#include <stddef.h>
@@ -728,12 +740,12 @@ static int get_sta_stats_handler(struct nl_msg *msg, void *arg)
728740

729741
if (stats[NL80211_STA_INFO_TX_DURATION]) {
730742
wifi_hal_dbg_print("%s:%d tx duration: %d\n", __func__, __LINE__, nla_get_u32(stats[NL80211_STA_INFO_TX_DURATION]));
731-
dev->cli_tx_duration = nla_get_u32(stats[NL80211_STA_INFO_TX_DURATION]);
743+
//dev->cli_tx_duration = nla_get_u32(stats[NL80211_STA_INFO_TX_DURATION]);
732744
}
733745

734746
if (stats[NL80211_STA_INFO_RX_DURATION]) {
735747
wifi_hal_dbg_print("%s:%d rx duration: %d\n", __func__, __LINE__, nla_get_u32(stats[NL80211_STA_INFO_RX_DURATION]));
736-
dev->cli_rx_duration = nla_get_u32(stats[NL80211_STA_INFO_RX_DURATION]);
748+
//dev->cli_rx_duration = nla_get_u32(stats[NL80211_STA_INFO_RX_DURATION]);
737749
}
738750

739751
if (stats[NL80211_STA_INFO_STA_FLAGS]) {
@@ -986,4 +998,4 @@ UINT wifi_freq_to_op_class(UINT freq)
986998
}
987999

9881000
return op_class;
989-
}
1001+
}

0 commit comments

Comments
 (0)