[PATCH] docs: networking: radiotap: Fix bracket

Manuel Ebner posted 1 patch 1 week, 1 day ago
Documentation/networking/radiotap-headers.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs: networking: radiotap: Fix bracket
Posted by Manuel Ebner 1 week, 1 day ago
Remove needless ')' from code.

Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
 Documentation/networking/radiotap-headers.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/networking/radiotap-headers.rst b/Documentation/networking/radiotap-headers.rst
index 1a1bd1ec0..aadc7bc6b 100644
--- a/Documentation/networking/radiotap-headers.rst
+++ b/Documentation/networking/radiotap-headers.rst
@@ -133,7 +133,7 @@ its prototypes available in include/net/cfg80211.h.  You use it like this::
 
 		    case IEEE80211_RADIOTAP_ANTENNA:
 			    /* radiotap uses 0 for 1st ant */
-			    antenna = *iterator.this_arg);
+			    antenna = *iterator.this_arg;
 			    break;
 
 		    case IEEE80211_RADIOTAP_DBM_TX_POWER:
-- 
2.55.0
Re: [PATCH] docs: networking: radiotap: Fix bracket
Posted by Randy Dunlap 1 week, 1 day ago

On 9/16/26 5:34 AM, Manuel Ebner wrote:
> Remove needless ')' from code.
> 
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  Documentation/networking/radiotap-headers.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/networking/radiotap-headers.rst b/Documentation/networking/radiotap-headers.rst
> index 1a1bd1ec0..aadc7bc6b 100644
> --- a/Documentation/networking/radiotap-headers.rst
> +++ b/Documentation/networking/radiotap-headers.rst
> @@ -133,7 +133,7 @@ its prototypes available in include/net/cfg80211.h.  You use it like this::
>  
>  		    case IEEE80211_RADIOTAP_ANTENNA:
>  			    /* radiotap uses 0 for 1st ant */
> -			    antenna = *iterator.this_arg);
> +			    antenna = *iterator.this_arg;
>  			    break;
>  
>  		    case IEEE80211_RADIOTAP_DBM_TX_POWER:

-- 
~Randy