Type A radion info is printed correctly now.
FossilOrigin-Name: 007e835ab8397680325635980d247b2613224b2bed0b487d36447ea753edfd78
This commit is contained in:
parent
81fa526a57
commit
71920b8711
@ -32,17 +32,16 @@ int radioinfo_print(char * str, struct radioinfo * radioinfo)
|
||||
|
||||
s += sprintf(s,"\t RID %d\n",radioinfo->rid);
|
||||
s += sprintf(s,"\t Modes: ");
|
||||
|
||||
if(radioinfo->type & CW_IEEE80211_RADIO_TYPE_B){
|
||||
s+=sprintf(s,"B");
|
||||
}
|
||||
if(radioinfo->type & CW_IEEE80211_RADIO_TYPE_G){
|
||||
s+=sprintf(s,"G");
|
||||
}
|
||||
|
||||
if(radioinfo->type & CW_IEEE80211_RADIO_TYPE_A){
|
||||
s+=printf(s,"A");
|
||||
s+=sprintf(s,"A");
|
||||
}
|
||||
|
||||
if(radioinfo->type & CW_IEEE80211_RADIO_TYPE_N){
|
||||
s+=sprintf(s,"N");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user