X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Fuart.c;h=2a0a76a5ee1a57c3253644bd5087fc174d621d5d;hb=f99b6fd51bf8429eaad357ac9c7149a92f719628;hp=cf6058e578569fa180f595bac658fce389efbeb1;hpb=e72388a0aa23da8bc8e24a0cbe9d523c5a9ce294;p=carl9170fw.git diff --git a/carlfw/src/uart.c b/carlfw/src/uart.c index cf6058e..2a0a76a 100644 --- a/carlfw/src/uart.c +++ b/carlfw/src/uart.c @@ -6,7 +6,7 @@ * Copyright (c) 2000-2005 ZyDAS Technology Corporation * Copyright (c) 2007-2009 Atheros Communications, Inc. * Copyright 2009 Johannes Berg - * Copyright 2009, 2010 Christian Lamparter + * Copyright 2009-2011 Christian Lamparter * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,8 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * with this program; If not, see . */ #include "carl9170.h" @@ -33,7 +32,7 @@ void uart_putc(const char c) set(AR9170_UART_REG_TX_HOLDING, c); while (get(AR9170_UART_REG_LINE_STATUS) & - AR9170_UART_LINE_STS_TX_FIFO_ALMOST_EMPTY) { + AR9170_UART_LINE_STS_TX_FIFO_NEAR_EMPTY) { /* * wait until the byte has made it */