The isr_intval in ieee80211req_scan_result structure should be 16 bit.
This makes ifconfig list scan display the correct beacon interval (previously it would int overflow). As a side effect, this makes the ieee80211req_scan_result word aligned. Submitted by: Paul B Mahol <onemda at gmail.com>
This commit is contained in:
parent
fb549e86e7
commit
d28e9c146a
@ -790,7 +790,7 @@ struct ieee80211req_scan_result {
|
||||
uint16_t isr_flags; /* channel flags */
|
||||
int8_t isr_noise;
|
||||
int8_t isr_rssi;
|
||||
uint8_t isr_intval; /* beacon interval */
|
||||
uint16_t isr_intval; /* beacon interval */
|
||||
uint8_t isr_capinfo; /* capabilities */
|
||||
uint8_t isr_erp; /* ERP element */
|
||||
uint8_t isr_bssid[IEEE80211_ADDR_LEN];
|
||||
|
Loading…
Reference in New Issue
Block a user