mt76: mt76_connac: set is_mt7902 inside is_mt7921#13
Conversation
So we don't have to set is_mt7902 everytime we see is_mt7921. Which will help us inherit all of common mt792x codes like mt7920 & mt7922. Signed-off-by: hmtheboy154 <buingoc67@gmail.com>
|
What if some function needs to do one thing for 7921 and something else for 7902? |
Beside TX/RX handling & firmware handling, I think we can inherit all of 7921 code. On the Android BSP code it actually show that 7902 inherit a lot from 7921 (like 7922) to the point that you can see things like this: And firmware handling differences is just because |
So we don't have to set is_mt7902 everytime we see is_mt7921. Which will help us inherit all of common mt792x codes like mt7920 & mt7922.