~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/net/wireless/wl1251/event.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        if (vector & BSS_LOSE_EVENT_ID) {
69
69
                wl1251_debug(DEBUG_EVENT, "BSS_LOSE_EVENT");
70
70
 
71
 
                if (wl->psm_requested && wl->psm) {
 
71
                if (wl->psm_requested &&
 
72
                    wl->station_mode != STATION_ACTIVE_MODE) {
72
73
                        ret = wl1251_ps_set_mode(wl, STATION_ACTIVE_MODE);
73
74
                        if (ret < 0)
74
75
                                return ret;
75
76
                }
76
77
        }
77
78
 
78
 
        if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID && wl->psm) {
 
79
        if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID &&
 
80
            wl->station_mode != STATION_ACTIVE_MODE) {
79
81
                wl1251_debug(DEBUG_EVENT, "SYNCHRONIZATION_TIMEOUT_EVENT");
80
82
 
81
83
                /* indicate to the stack, that beacons have been lost */