Changeset 2350

Show
Ignore:
Timestamp:
05/18/07 11:42:17 (2 years ago)
Author:
mentor
Message:

Use helpful macro to check beacon interval value

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/net80211/ieee80211_input.c

    r2348 r2350  
    27742774                 * order to protect against attack. 
    27752775                 */ 
    2776                 if (!(IEEE80211_BINTVAL_MIN <= scan.bintval &&  
    2777                      scan.bintval <= IEEE80211_BINTVAL_MAX)) { 
     2776                if (!IEEE80211_BINTVAL_VALID(scan.bintval)) { 
    27782777                        IEEE80211_DISCARD(vap, IEEE80211_MSG_SCAN, 
    27792778                                wh, "beacon", "invalid beacon interval (%u)",