commit | 67630e0acfc08ee4089fc2cc6af9b68f068c726e | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Tue Dec 06 14:35:28 2022 +0800 |
committer | developer <developer@mediatek.com> | Thu Dec 08 19:03:23 2022 +0800 |
tree | 84b88848c40dd09aab0c44f0c989d078749c768c | |
parent | 993b385c2b50139c998ae1d42c947270db381ee8 [diff] [blame] |
[][MAC80211][app][atenl: sync mt7915 antenna_mask] [Description] Change antenna_mask of mt7915 to sync with mt7916 and mt7986. [Release-log] N/A Change-Id: Iea6ef8cde4f162b56fa3e6184b201536498c26ba Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6879530
diff --git a/feed/atenl/src/nl.c b/feed/atenl/src/nl.c index b919356..7cbda0f 100644 --- a/feed/atenl/src/nl.c +++ b/feed/atenl/src/nl.c
@@ -125,11 +125,8 @@ { if (!tx_antenna) return; - if (is_mt7915(an)) - nla_put_u8(msg, MT76_TM_ATTR_TX_ANTENNA, - tx_antenna << (2 * an->cur_band)); - else if (is_mt7916(an) || is_mt7986(an)) - nla_put_u8(msg, MT76_TM_ATTR_TX_ANTENNA, tx_antenna); + + nla_put_u8(msg, MT76_TM_ATTR_TX_ANTENNA, tx_antenna); } static int